miracle2k / android2po

Convert Android string resources to gettext, and back.
BSD 2-Clause "Simplified" License
126 stars 50 forks source link

[improvement] Add option to ignore strings that have the translatable="false" #47

Open matbos opened 8 years ago

matbos commented 8 years ago

When exporting resources file that contains definitions of strings with attribute translatable=false they make it into the .po file. This seems like an undesirable behavior as the attribute clearly states that given string should not be translated thus it should not be written to the *.po file. It would be really nice to see this added.

And in the meantime there is a simple workaround, it is enough to place your non-translatable strings in the donottranslate.xml file(see http://tools.android.com/recent/non-translatablestrings).

edesdan commented 8 years ago

+1

bkeller-vuzix commented 1 year ago

I'm not seeing this behavior in the latest version, and it looks like it was first implemented in

commit 3263678bc559d64677527b9e6f67b6e17c2accc7 Author: Kenny Root kenny@the-b.org Date: Wed Oct 20 21:50:02 2010 -0500

This must have been broken and resolved along the way. I recommend this be closed.