Skip to main content

Set Language (SetLanguage)

AndroidiOSPC

If you are using Unreal Engine, see SetLanguage in the Unreal Engine SDK.

Used to set the language for the LI PASS interface and emails.

note

It is recommended to set according to the game language, otherwise, there might be inconsistencies between the language of the LI PASS UI and reward emails and the game language.

Function definition​

public static void SetLanguage(string language);

Input Parameters​

ParametersTypeExplanation
languagestringLanguage type (ISO 639), e.g., "en".Defines the language for the LI PASS interface and emails.
For more information, see Language Type Definition.

Code sample​

LevelInfinite.SetLanguage("zh-Hans");

Interface Example​

Spanish​

Image: SetLanguage Image: SetLanguage Image: SetLanguage

Russian​

Image: SetLanguage Image: SetLanguage Image: SetLanguage

Traditional Chinese​

Image: SetLanguage Image: SetLanguage Image: SetLanguage

Korean​

Image: SetLanguage Image: SetLanguage Image: SetLanguage

Turkish​

Image: SetLanguage Image: SetLanguage Image: SetLanguage