English
English
简体中文
Register
Log In
English
English
简体中文
Register
Log In
Language
English
English
简体中文
Register
Log In

Why is only English displayed in the app installed on an Android smartphone after other languages are set using i18n, a language customization code, in the panel SDK?

Last Updated on2022-12-01 10:06:55
Cause:
The language key values of different countries and regions on different Android smartphones are varied. For example, the language key value for traditional Chinese may be zh-hant or zh-hk.
Solutions:
Only zh and en need to be defined in the development environment. Other languages need to be configured on Tuya IoT Platform. Cloud services are displayed based on the region.
1. On the Product page, click Product Configuration and click Settings in the Multilingual area to go to the Multilingual page. Then, select Device Panel.
2. Download the multilingual template, add custom languages based on the template content, and import the template.
3. The following figure shows a custom configuration example.
Note: The key value cannot be Chinese. You can edit content based on the example or downloaded file.

Click for services and help

Help Center