Android strings.xml translation

Get Localization has full support for Android i18n files. Strings, arrays and plurals are all supported. Get Localization also supports inline HTML and more advanced features. Parser is based on Android localization guidelines.

Example

Below you can see an example of an Android localization file. All mentioned tags are supported.

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="app_name">Your Appname</string>        
    <string name="text_welcome">Welcome !!!</string>

    <plurals name="numberOfSongsAvailable">
        <item quantity="one">One song found.</item>
        <item quantity="other">%d songs found.</item>
    </plurals>

    <string-array name="planets_array">
        <item>Mercury</item>
        <item>Venus</item>
        <item>Earth</item>
        <item>Mars</item>
    </string-array>
</resources>

Android Context Information

Android files contain context information by defining a comment attribute to string element, for example:

<string name="menu_stop" comment="After item Start in Menu">Stop</string>

This context information will be displayed in the context field in the translation editor and help the translators to get their translation right the first time.

See also

Get Started With Get Localization Today

Get an instant translation quote Try Get Localization Workspace for Free