SetLanguage
AndroidiOSWindows
If you were looking for the method for use with Unreal Engine, see SetLanguage for Unreal Engine SDK.
If you were looking for the method for use with Unreal Engine, see SetLanguage for Unreal Engine SDK.
Used to set the language of the LI PASS interface and emails.
note
Language is recommended to be set according to the game, otherwise the LI PASS UI and the language of any prize emails sent may not match the game language.
Function definition
public static void SetLanguage(string language);
Input parameters
Parameter | Type | Description |
---|---|---|
language | string | Language code (ISO 639) that defines the language used for LI PASS UI and email, such as "en". For more information, see Language Type Definition |
Code sample
LevelInfinite.SetLanguage("zh-Hans");
UI example
Sendspanish
Russian
Traditional Chinese
Korean
Turkish