Knowledge Base

Documentation on how to translate software with POEditor

When you translate Android app strings with POEditor, you may find when exporting your XML resource that quotes were added to the strings.

This isn't an error, don't worry. Using quotes is permitted, as is not using quotes.

<string name="good_example">"This will work"</string>

When we added support for Android string resources, the Google guidelines were recommending the use of quotes in language files, and we had to choose: quotes + new lines OR no quotes + \n.

We decided POEditor would use quoted strings for localization in Android, because they are safer when special characters appear. For example, if you have multiple whitespaces at the end of your text (or new lines), they would be removed in the non-quoted case.

In the meantime, Google quit making any recommendation regarding this aspect, but both versions (quoted or unquoted) should work in your localized Android app.

More information regarding styling and formatting of Android string resources can be found here:

Start your software localization project now

Get 1000 strings, unlimited projects, languages and contributors for FREE or check out our affordable Pricing plans for large scale localization projects