Resource localization

Understand the localization resource files and how they work in mobile extensions.

Overview

Static resources are the physical files and resources that are rendered in mobile extensions, including the localization files for translating text in the UI.

Each mobile extension can have only one resource bundle file, which contains all the static resources needed for the extension.

The resource’s bundle file is a .zip file comprising a predefined folder: Locales. This folder stores the localization files, for example, en.json, fr.json, etc.

Localization

Localization resources are the localization files in the static resource zip file. The file names are based on LCID strings or Language codes. They are usually paired with a localized expression to display a key into the user’s device’s preferred language setting.

If an extension supported three langauages; English, French, and Vietnamese, then the folder would look as follows:

Localization files

To support more languages, add more files to your form base on the languages code.