Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way how to edit multiple localised string.xml files in one window in Eclipse?

When working on a localized Android application, I found it a bit annoying that whenever I change a value in one language version of the strings.xml, I have to remember to change it also in the other versions.

Is there any way how to open multiple (or at least two of them) string.xml files in one window that would display the language versions of all the messages side by side, in a similar way to a resource bundle editor?

like image 943
Natix Avatar asked Dec 02 '22 00:12

Natix


2 Answers

As a followup to the others, yes there is a multi-language strings.xml editor in MOTODEV Studio.

Install as a set of plugins into Eclipse by visiting the Eclipse Marketplace (Help->Eclipse Marketplace) or by creating a new update site (Help->Install New Software) and using https://studio-android.motodevupdate.com/android/4.0/basic as the update site address.

If it doesn't open automatically the first time, right click on strings.xml and choose "Open With->Other" and find "Localization Files Editor". After that it should open this editor every time.

enter image description here

Here's a YouTube video showing how it works: http://www.youtube.com/watch?v=0Asv-IoH9M0

Disclaimer: I'm the Product Manager for MOTODEV Studio.

like image 101
Eric Cloninger Avatar answered Dec 04 '22 03:12

Eric Cloninger


Yes, i too faced this issue in one project that was requiring multiple language support and i don't think so that there is any such tool to do this. But we can tile the window in eclipse and do the editing for two languages parallelyenter image description here

like image 38
Veer Avatar answered Dec 04 '22 04:12

Veer