London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Class LocalizationServiceExtensions

Localization service extension

Inheritance
System.Object
LocalizationServiceExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Shell.ObjectEditing
Assembly: EPiServer.Shell.dll
Version: 10.10.4
Syntax
public static class LocalizationServiceExtensions

Methods

GetTranslationIfNeeded(LocalizationService, String)

Gets the translation if needed.

Declaration
public static string GetTranslationIfNeeded(this LocalizationService localizationService, string resourceKey)
Parameters
Type Name Description
LocalizationService localizationService

The localization service.

System.String resourceKey

The resource key.

Returns
Type Description
System.String