Method TryTranslate
| Edit this page View SourceTryTranslate(string)
Retrieve a translation if it's found in any CustomLocalization or Localization.Translate.
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. |