Skip to main content

Set Language (SetLanguage)

AndroidiOSWindows
If you are using Unreal Engine, see Unreal Engine SDK's SetLanguage.

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