Method AddTranslation
| Improve this Doc View SourceAddTranslation(in string, string)
Add a translation.
Declaration
public void AddTranslation(in string token, string translation)
Parameters
Type | Name | Description |
---|---|---|
string | token | Token of the translation you want to add. |
string | translation | The translation. |
AddTranslation(in string, in string, string)
Add a translation.
Declaration
public void AddTranslation(in string language, in string token, string translation)
Parameters
Type | Name | Description |
---|---|---|
string | language | Language of the translation you want to add. |
string | token | Token of the translation you want to add. |
string | translation | The translation. |
AddTranslation(in string, Dictionary<string, string>)
Add a group of translations.
Declaration
public void AddTranslation(in string language, Dictionary<string, string> tokenValue)
Parameters
Type | Name | Description |
---|---|---|
string | language | Language of the translation you want to add. |
Dictionary<string, string> | tokenValue | Token-Value dictionary. |