Localizing mobile apps for international audiences
Make your mobile app more accessible for your international audiences by localizing the UI text for specific countries and regions.
For example, uPlus bank plans to open a new company branch in Spain. To ensure that employees can efficiently submit local expenses in their native language, uPlus bank translates the UI labels and messages of their Pega app into Spanish and uploads the compressed localization package to Pega Platform.
- Go to Branding assets templates for Pega Mobile Client and download the simplified assets
.zip
file that matches your version of Pega Mobile Client. - Extract the contents of the
.zip
file. - Open the folder with the extracted files.
- Translate the UI labels and messages:
Choices Actions Translate UI text for Android apps - Open the
android
folder. - Create a copy of the
values-en
folder.The folder contains thestrings.xml
file. Make sure that you copy the folder together with the file. - Rename the folder that you copied by replacing
en
in the folder name with the ISO-639-1 code of the target language.For a list of ISO-639-1 codes, see Library of Congress: Codes for the Representation of Names of Languages. - In the folder that you copied and renamed, open the
strings.xml
file. - Translate the English UI text into the target language.
- After translating the UI text, save the
strings.xml
file. - If you want to include another localization pack, repeat the above steps for each new language.
Translate UI text for iOS apps - Open the
ios
folder. - Create a copy of the
en.lproj
folder.The folder contains thelocalizable.strings
file. Make sure that you copy the folder together with the file. - Rename the folder that you copied by replacing
en
in the folder name with the ISO-639-1 code of the target language.For a list of ISO-639-1 codes, see Library of Congress: Codes for the Representation of Names of Languages. - In the folder that you copied and renamed, open the
localizable.strings
file. - Translate the English UI text into the target language.
- After translating the UI text, save the
localizable.strings
file. - If you want to include another localization pack, repeat the above steps for each new language.
- Open the
- Select the folders that you extracted from the
.zip
file that now contain the localization files, and then compress them into a single.zip
file. - Open your mobile channel:
- In the navigation pane of App Studio, click Channels.
- In the Current channel interfaces section, click the tile that represents a mobile channel for your app.
- On the mobile channel page, on the Layout tab, click Branding.
- In the Branding section, click the Configure advanced branding icon, and then select the Advanced Branding check box.
- In the Upload custom branding file section, click
Choose file, and then select the
.zip
file that contains the localization files. - Confirm your selection by clicking OK.
- Click Save.
Downloading the template localization file
Creating localization files
Uploading the localization package to Pega Platform
Previous topic Enhancing a mobile app with the native header Next topic Generating native mobile apps