berkus / android-apktool

Automatically exported from code.google.com/p/android-apktool
Other
1 stars 0 forks source link

Multiple substitutions error when using xliff (v1.4.3) #256

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It fails to properly decode strings like:

<item quantity="other"><xliff:g id="index" example="2">%d</xliff:g> of <xliff:g 
id="total" example="137">%d</xliff:g></item>

Original issue reported on code.google.com by Brut.alll on 8 Dec 2011 at 10:42

GoogleCodeExporter commented 9 years ago
It's weird apktool totally ignores these tags, it doesn't decode them at all. I 
think I have added support for xliff.

Original comment by Brut.alll on 8 Dec 2011 at 10:45

GoogleCodeExporter commented 9 years ago
i have try the latest version, but still have this issue.

Original comment by zhudengk...@gmail.com on 10 Jan 2013 at 7:40

GoogleCodeExporter commented 9 years ago
The issue is still "Accepted". It hasn't been fixed.

Original comment by connor.tumbleson on 10 Jan 2013 at 12:41

GoogleCodeExporter commented 9 years ago
is there any progress? i am studying this issue?

Original comment by zhudengk...@gmail.com on 10 Jan 2013 at 2:16

GoogleCodeExporter commented 9 years ago
I'm a bit surprised how xliff data isn't documented anywhere on the Android 
Developer website. The closest I found was aapt's source code.

A lot of opinions online are that xliff is outdated for regular $1%s etc. Maybe 
xliff should be read into regular positional variables.

Original comment by connor.tumbleson on 13 Jan 2013 at 1:05

GoogleCodeExporter commented 9 years ago
is There any temporary solution for this problem, this issue has been bothering 
me for a long time.

thank you very much!

Original comment by zhudengk...@gmail.com on 21 Jan 2013 at 12:16

GoogleCodeExporter commented 9 years ago

Original comment by connor.tumbleson on 11 Mar 2013 at 2:02