How to import/export Android string resource to Excel for localization? How to import/export Android string resource to Excel for localization? android android

How to import/export Android string resource to Excel for localization?


If anyone else needed the answer,

from res -> strings -> right click-> Open Translations Editor. Select data/variable you need then copy and paste data from Translations Editor to excel . done.

image from android studio v2.2


Since CTRL+A not working now in the android studio.There is one way to convert the android strings file to CSV and then translate it with the help of google translator and then again convert back to XML.

https://skydevelopers.net/blog/2-best-ways-to-translate-the-android-strings-file/

here is a blog in detail


As many others pointed out, pressing Ctrl+A in the Translations Editor doesn't work since Android Studio 3.2

I work for a company that outsources translations constantly, so we need to convert android strings to and from xls files.The only solution that worked for us reliably is this fork of the older android-lang-tool. Just build with maven and run the jar.

It exports strings, string-arrays, plurals and their key-values to an xls file. It even exports the comments.