android2po
android2po copied to clipboard
Convert Android string resources to gettext, and back.
Previously, the configuration file was being opened in bytes mode: `open(file,` 'rb')` This was wrong, it caused the script to crash, and throw related errors - for example: `TypeError: startswith...
It would be great to use this conversion tool for Objective-C and Swift users.
Trying to process the string-array entry `\?` fails after an init followed by export. The escape character is removed, creating invalid XML: `?` A sample source tree is available [here](https://android.googlesource.com/platform/packages/apps/Settings/+/refs/heads/oreo-release/res/values/arrays.xml)...
When using Unicode character \u00A0 (non-breaking whitespace) in a strings.xml, I get the crash below. Anything wrong with my configuration (if there is any) or any quick fix for that?...
a little proof of concept I did today: android2po does 2 space indentation in xml files and there's no way to configure it otherwise. this is a limitation of the...
If we have a string like Received file from %2$s Received %1$d files from %2$s a2po will create #, c-format msgctxt "received_files_title" msgid "Received file from %2$s" msgid_plural "Received %1$d...
I am using a2po for the same project on two different systems (Ubuntu 14.04 and 16.04). Apparently a2po is using different paragraph widths for line wrapping on both systems, which...
It would be good to automate releases and then add another administrator to this project to ensure it's updated. Currently it doesn't appear to work with Python 3.6. Travis-CI can...
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...