On Sun, Apr 8, 2012 at 2:35 AM, r3gis <r3gi...@gmail.com> wrote:
> Hehe, this documentation doesn't say everything ;)
Truly said :)
> I've read a lot of the core Android source code, and actually some of my
> resources came directly from official android source code.
> For example
> https://github.com/android/platform_packages_apps_mms/blob/master/res/values-af/strings.xml
> Is the stock strings resource of the android mms package. And as you can
> see, there is some xliff included !
> Almost *all* strings.xml files of stock android apps contains xliff : Stock
> settings, phone, contact, music, email apps contains xliff namespace and
> xliff usage.
>
> I agree that xliff is maybe not necessary in my case (and I can get rid of
> it easily).
> But since it's supported by android and actually used in all stock
> applications, it's valid. So should probably be supported, at least to not
> have a limitation for existing projects that follow the way google guys
> develops their apps and uses string resources ;).
> So I think that it has not a critical priority (few developers knows about
> that), but would be very nice to have. For example if some Cyanogen fork
> would like to manage internationalization using Transifex, it will be
> critical problem ;).
Yes, such <xliff> tags are supported by Android, Transifex should also
support them.
> For me, the more annoying point now (once xliff things isolated) is the
> point about the < that becomes < . I have no way to workaround that for
> now and have to revert this part each time I pull. It's only one line in my
> translations but it's pretty annoying to have to care about that each time.
> (the good point is that the app doesn't build if there is a < instead of a
> < so I can quickly know if there is something wrong after a pull from
> translation ;) ).
> And this point is in the doc :
> http://developer.android.com/guide/topics/resources/string-resource.html#FormattingAndStyling
> in section "Styling with HTML markup"
This is an issue. We'll fix this as soon as possible.
>
> Thanks,
> And sorry again for the previous spamming. I was so excited to use something
> that uses django in my opensource project that I was in flooding mode (I
> hate developing in java... but well... for android I have to...)
Hehe, that's alright ;)
--
Ratnadeep Debnath,
Software Developer & QA, Transifex
GPG Fingerprint: 033C 8041 A0E9 CDBA 2E02 B785 2119 5486 F245 DFD6
Not even standard ones. Sadly.
XLIFF support is very new. I wrote it 9 months ago. Just by reading
XLIFF specification and looking at the code of Transifex. I was not able
to make running developer setup of Transifex, so it was written nearly
from top of my head.
But Transifex start using new resource backend so my work had to be
fixed anyway. Ratnadeep take it and rewrite it and put there some
enhancements.
So right now simple XLIFF documents works. But XLIFF standard is quite
comprehensive and as soon as you will start using namespaces, groups
etc. bugs will start appearing. I reported some and Ratnadeep fixed them
(very good work indeed).
If you find some problems, I think best you can do is to report them here:
https://getsatisfaction.com/indifex/problems/common
one issue one report.
And I'm sure that if you attach patch which fix that issue, then it will
make things faster.
--
Miroslav Suchy
Red Hat Satellite Engineering
It's also worth noting that we plan on releasing the parsers as a
separate library with its own test suite to make it easier for patches
to flow in.
-d
--
Dimitris Glezos
Founder and CEO, Transifex
US Tel: +1.650.440.2308
Social Localization Crowdsourcing
http://www.transifex.com/ -- http://angel.co/transifex
2012/4/10 Miroslav Suchý:
> If you find some problems, I think best you can do is to report them here:
> https://getsatisfaction.com/indifex/problems/common
> one issue one report.It's also worth noting that we plan on releasing the parsers as a
separate library with its own test suite to make it easier for patches
to flow in.