[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs