Support Android (XML) resource files for translation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
APRSdroid |
Won't Fix
|
Undecided
|
Georg Lukas | ||
Launchpad itself |
Won't Fix
|
Low
|
Unassigned |
Bug Description
Could it be possible to support translation from Android .xml files, next to .po? This is the only part of Launchpad for Android apps that is not working.
Information on Android: http://
Docs on localization (more specifically bottom half): http://
Most important here are the strings I suppose:
The hierarchic folder structure is:
MyApp/
res/
values-en/
values-fr/
and an example of the contents of a strings.xml file is as follows:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_
<string name="text_
<string name="resources
</resources>
As you can see it is actually very simple.
Related bugs are: #82137 and #68959 (some also xml)
It looks like a pretty bad system, when it comes to I18N. Why would they invent another bad system for localisation when there's already an existing good one (gettext) is beyond my comprehension.
It's beyond our ability to support everybody's hackish translation system. If this was actually a good system, I'd say it was worth supporting, but I just wonder how do you provide translations for plural form messages, for variable-containing messages, for providing comments/context to translators, etc?
The reference document even says that it's far from complete. If you have any say in what they do, just suggest them to use gettext to avoid reinventing the wheel. And the fact that this is their well-advertised platform only makes it worse.
I am marking this 'Won't fix' and I'd prefer if people provided separate tools to migrate these kind of files to PO files instead.