Closed Bug 1473022 Opened 4 years ago Closed 4 years ago
Add support to Pontoon for XML file format used in Android
44 bytes, text/x-github-pull-request
|Details | Review|
Mozilla apps for Android need to convert native strings.xml files used for storing translations to .po files in order to be localized in Pontoon. Let's fix that by adding support for strings.xml files to Pontoon. See docs for more details on the file format: https://developer.android.com/guide/topics/resources/string-resource While strings.xml format supports three types of resources, we'll be only supporting simple strings (type String) as part of this bug. That also allows us to use compare-locales for parsing & serializing files and running checks.
Summary: Add support for XML file format used in Android → Add support to Pontoon for XML file format used in Android
Commit pushed to master at https://github.com/mozilla/pontoon https://github.com/mozilla/pontoon/commit/7e95a4c7b61af66fe2c6185cd39fd50a7ecf5252 Fix bug 1473022: Add support for XML file format used in Android (#1111) This patch brings support for Android String resources (strings.xml), complete with parser, serializer and checks. For the first time we use compare-locales for working with l10n files, and we'll see more of it in the future as we plan to move most of the file formats to it. In addition to that, the patch includes some cleanups and fixes: - Unused properties have been removed - Unused imports have been removed - A typo in a method name has been fixed
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.