Environment variables, authorization, and localization
|
|
Video lesson 3. Getting data, authorization, and localization |
The plugin's functions are divided into separate modules (links are provided to their instructions):
- Environment variables allow retrieving platform SDK data about the user's device, such as language, operating system, or browser.
- Authorization enables leaderboards and payments integration. However, the game must remain playable without authorization (see item 1.2). The authorization module provides access to user data like nickname or avatar. It's also required for certain modules like Leaderboards or Payments.
- Languages:
-
Game localization management: automatically switches the game's language based on the platform's detected language.
Warning
The game must be translated into at least one language selected when submitting the draft (see item 8.2.3). It is recommended to add localizations for ru, en, tr.
If the game language is manually selectable, please note Game requirements item 6.9.
-
Auto-translation using Google Translate.
-
Was the article helpful?
Previous