Method GetLocalizedString
GetLocalizedString(String)
Returns a localized System.String from the games language files with a specified GXT key.
Declaration
public static string GetLocalizedString(string entry)
Parameters
Type | Name | Description |
---|---|---|
System.String | entry | The GXT key. |
Returns
Type | Description |
---|---|
System.String | The localized System.String if the key exists; otherwise, System.String.Empty |
GetLocalizedString(Int32)
Returns a localized System.String from the games language files with a specified GXT key hash.
Declaration
public static string GetLocalizedString(int entryLabelHash)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | entryLabelHash | The GXT key hash. |
Returns
Type | Description |
---|---|
System.String | The localized System.String if the key hash exists; otherwise, System.String.Empty |