Android - How to Use Application Texts with Localizations

The Application Texts with Localizations feature will allow you to add multiple language translations to your app container and will automatically display the appropriate language based on the device's default language setting. In order for this feature to take effect, the localization and their translations must be created and entered before generating your app build because this is not a live setting and must be embedded into the app.

Note: This feature replaces the old Applications Texts "strings.xml file" customization feature. If your app previously had a custom strings file uploaded, the translations were imported to the Application Texts page on your Publish Portal.

Customize your Applications Texts and Add Localizations

1. Log on to your Publish Portal click, the Apps tab, Android tab and then Application Texts - https://publish.magplus.com

1. Log on to your Publish Portal click, the Apps tab, Android tab and then Application Texts - https://publish.magplus.com

2. Review Application Texts description details

Note: The description information can also be found at the top of the Application Text's page in your Publish Portal.

Some string values include a number of formatting strings (& and $). These are identifiers for dynamic strings, added in runtime. Do not remove these identifiers and do not add extra identifiers.

For example, [The '&' issue is now available for download] The & part in this string is a required identifier for an issue title, and the produced text in the app will be [The 'Best ever April' issue is now available for download]

There are also \n characters in these values. \n means new line and are present in the text to manually control line breaking in the text. Try to keep these in the same places, as this will look the best in the app.

Those interested can read more about how these values are used in the official Google Android documentation.

3. Add a locale or edit pre-existing ones

English will be the default locale and any previous text string that were uploaded will have carried over into the English locale. To add a new locale, simply click the "Add locale" button seen below:

Then select the locale language from the drop down menu you would like to add and click the "Add" button

4. Select your new locale from the menu first and then click "Select locale"

4. Select your new locale from the menu first and then click "Select locale"

5. Translate or edit the text fields and click the "Update" button at the bottom

5. Translate or edit the text fields and click the "Update" button at the bottom

Once you have saved your Application Texts and Localizations you should generate a new build and test it before submitting to Google. For information on testing your app build please see our Testing Your App Before Distribution.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk