Description:
When your device language is English and you would like to display the application in a different language, for example French, the language selector offers the ability to change the language used within the application. An application can support multiple languages and a user can choose his preferred language from a list of available languages.
Supported platforms:
Android & iOS Mobile
Apple TV, Android TV, Fire TV, Roku, Samsung TV, LG TV
Please note in order to have the right translation of words on each screen you will have to edit the localization for the screen and of course have the content translated into the language you would like to display.
Prerequisite:
- The app should contain all the languages that the app needs to support. To do so, click on app settings and add the relevant languages.
Add the languages you would like to support within your application such as below:
- All texts inside the layout must have translation, using the localization sections inside the layout.
To add Language Selector to your app:
- Within your application version add the Quick Brick Language Selector plugin and build
- Once done enter your application layout and add “Quick Brick Language Screen”
Make sure to add the Language Selector Screen then add a Group Component then inside the Group Component, a Group Info QB and finally a List component:
Finally assign a cell style to the Group Info QB (showing title) and the Cell 2 (List QB). Exported styles (can be found as attachments at the end of this article).
Make sure to select badge to highlight the current selected language.
Example:
Now you can edit each screen localization as seen below:
In any screen you can edit “localizations” and add the desired languages.
Finally you can find relevant CTX keys here ->https://docs.applicaster.com/integrations/available-context-keys/
Language Code context
End result:
Comments
0 comments
Article is closed for comments.