Skip to main content

SetLanguage

AndroidiOSWindows
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

ParameterTypeDescription
languagestringLanguage 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

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