Skip to main content
Version: 5.7.0

OverrideLanguageCode

Sets the language code sent to brainCloud when a user authenticates. If the language is set to a non-ISO 639-1 standard value the app default will be used instead. The supported languages and the default can be set on the Localization page of the portal.

These methods should be called before authenticating so that they are sent to the server.

Will override any auto detected language.

Method Parameters

ParameterDescription
languageCodeISO 639-1 two-letter language code

Usage

http://localhost:3000
string languageCode = "en";
_bc.OverrideLanguageCode(languageCode);