[tor-bugs] #3987 [Translations]: Google Android’s format is natively supported in Transifex

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Thu Sep 22 13:37:11 UTC 2011


#3987: Google Android’s format is natively supported in Transifex
--------------------------+-------------------------------------------------
 Reporter:  runa          |          Owner:  runa    
     Type:  enhancement   |         Status:  assigned
 Priority:  normal        |      Milestone:          
Component:  Translations  |        Version:          
 Keywords:                |         Parent:          
   Points:                |   Actualpoints:          
--------------------------+-------------------------------------------------

Comment(by runa):

 I have created a new translation resource for strings.xml on Transifex.
 Pushing and pulling translations works just fine, but there is a catch:
 when you pull translated files that are .xml, you get everything. You get
 files that are 100% translated, files that are 89% translated, and files
 that are 2% translated. As far as I know, you cannot pull only files that
 are 100% translated.

 You have the same issue when you pull translations as .po files, but the
 po2xml script takes care of the problem for you. The script will only
 convert a translation from .po to .xml if 80% or more has been translated.
 If 90% of the file has been translated into Norwegian, po2xml will write a
 .xml file that is 90% Norwegian and 10% English, keeping the file intact
 and ready to ship.

 So, Nathan, how do you want to do this? Do you want to pull .xml files
 directly and use them as they are (meaning you can end up shipping
 incomplete menus for various languages), or do you want to stick with the
 .po files and let the po2xml script handle the rest?

 And oh, it's perfectly fine to say "I'm not sure, do whatever you want".
 In that case, I'll stick with the .po files and use the po2xml script.
 It's just nicer that way.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/3987#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list