Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android sync strings.xml

How can I sync my strings.xml in Android if I'm using localisation and a new string needs also to be translated in values-de/strings.xml, values-ru/strings.xml ...
Do I really have to copy paste it in everey file - or is there a tool for managing translations?

like image 260
Tobias Avatar asked Feb 07 '11 20:02

Tobias


1 Answers

If you don't provide a translation, the default value will be found in values/strings.xml if that file exists. MOTODEV Studio has a localization editor that allows you to see all your strings in a spreadsheet configuration, which might be easier for you to visualize. If you don't want to install MOTODEV Studio, you can install the Sequoyah plugins into your Eclipse IDE and get most of the functionality.

http://developer.motorola.com/docstools/motodevstudio/

http://www.eclipse.org/sequoyah/

MOTODEV Studio Localization editor

UPDATE 2014/08/08 - The former MOTODEV plugins that were submitted to AOSP are finding new life in a Github project called Proteus. The string editor is included in Proteus and can be used as-is. The automatic translation feature through Google Translate doesn't work, but the column editor does work.

like image 106
Eric Cloninger Avatar answered Nov 02 '22 16:11

Eric Cloninger