Interface ITranslationSource
Interface for all classes that act as translation sources for LocalizationService.
Namespace: NoSuchStudio.Localization
Assembly: NoSuchStudio-Localization.dll
Syntax
public interface ITranslationSource : ILocalizationServiceComponent, IServiceComponent<LocalizationService>
Methods
GetTranslation(String, String)
Declaration
string GetTranslation(string phrase, string language)
Parameters
| Type | Name | Description |
|---|---|---|
| String | phrase | |
| String | language |
Returns
| Type | Description |
|---|---|
| String | Returns the translation for the given phrase in the given language. null if a translation does not exist. |