Method GetLocalizedString
GetLocalizedString()
Provides a translated string from a StringTable with the TableReference and the translated string that matches TableEntryReference. Uses WaitForCompletion to force the loading to complete synchronously. Please note that WaitForCompletion is not supported on WebGL.
Declaration
public string GetLocalizedString()
Returns
| Type | Description |
|---|---|
| string | The localized string for the SelectedLocale or LocaleOverride if it is not null. |
GetLocalizedString(params object[])
Provides a translated string from a StringTable with the TableReference and the translated string that matches TableEntryReference. Uses WaitForCompletion to force the loading to complete synchronously. Please note that WaitForCompletion is not supported on WebGL.
Declaration
public string GetLocalizedString(params object[] arguments)
Parameters
| Type | Name | Description |
|---|---|---|
| object[] | arguments | The arguments to pass into the Smart String formatter or String.Format. |
Returns
| Type | Description |
|---|---|
| string | The localized string for the SelectedLocale or LocaleOverride if it is not null. |
GetLocalizedString(IList<object>)
Provides a translated string from a StringTable with the TableReference and the translated string that matches TableEntryReference.
Declaration
public string GetLocalizedString(IList<object> arguments)
Parameters
| Type | Name | Description |
|---|---|---|
| IList<object> | arguments | The arguments to pass into the Smart String formatter or String.Format. |
Returns
| Type | Description |
|---|---|
| string | The localized string for the SelectedLocale or LocaleOverride if it is not null. |