Method TryTranslate
| Improve this Doc View SourceTryTranslate(string)
Retrieve a translation from this custom localization or Localization.Translate.
Searches with the user language with a fallback to English.
Declaration
public string TryTranslate(string word)
Parameters
Type | Name | Description |
---|---|---|
string | word | Word to translate. |
Returns
Type | Description |
---|---|
string | Translated word in player language or english as a fallback. |