Migrating and Importing Localization Tables
Localization table locales must conform to the language tags defined by the Internet Engineering Task Force (IETF) Best Current Practice (BCP)
IETF BCP 47. The locale must be in the
language-Script-REGION-variant format, where the language is required and the rest of the format is optional. Letters, digits, and hyphens are valid characters. For example:
• es (Spanish)
• pt-BR (Portuguese as used in Brazil)
• zh-Hans-CN (Chinese rendered in simplified script as used in China)
This naming applies to import, create, and duplicate actions in ThingWorx. A localization table with a non-conforming name can be imported, but it does not appear in the language preferences editor.
If you have localization tables with names that do not conform to these restrictions, you should rename them before migrating by doing the following:
1. From ThingWorx Composer, browse > .
A list of localization tables appear.
2. Select a checkbox next to the localization table with a non-conforming name (for example, French), and then click the Duplicate button.
3. Enter a standard locale name (in this example for French, enter fr), and then click Save.
4. To delete the original localization table with the non-conforming name, open the original localization table, click the More button, and then select Delete.
5. Repeat the steps given above for all tables with names that do not conform to the standard.
After importing the localization tables into your new system, do the following:
1. From Composer, browse > , and then click a localization table from the list to edit.
2. In the General Information area, enter values in the Language Name (Native) field (for example, français) and the Language Name (Common) field (for example, enter French).
3. Optionally, if you want to add or change an image (such as a national flag) in the image field, click Change, and then select an image from your local directory.
The new image appears in the avatar area.
4. Repeat the steps above for all imported localization tables.