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: 7.19.2Syntax
public static class LocalizationServiceExtensionsMethods
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 | 
