السلام عليكم،

  I just attended a session on Ubuntu Developer Week[1] about translations 
  & launchpad. So I asked about projects that use XML for translations, 
  I was answered that Launchpad support is for Gettext (PO) 
  translations, yet there are tools to convert XML <-> PO(T) in the 
  poxml package. So we can do the following for projects using XML 
  translations:

  * convert the XML template to POT (using xml2pot)
  * Put the POT on Launchpad translations page.
  * when we get new translations, we convert the PO back to XML (using 
    po2xml).

  All this conversion can also be automated if one can write proper VCS 
  hook scripts to do that work. In detail, the script would check if the 
  template XML(s) have been updated in the commit, and if it had been 
  updated, then run conversion to POT, then push it to a bzr branch 
  (from which the Launchpad translations page is set to import from).

[1] https://wiki.ubuntu.com/UbuntuDeveloperWeek
-- 
 ‎أحمد المحمودي (Ahmed El-Mahmoudy)
  Digital design engineer
 GPG KeyID: 0xEDDDA1B7 (@ subkeys.pgp.net)
 GPG Fingerprint: 8206 A196 2084 7E6D 0DF8  B176 BC19 6A94 EDDD A1B7

_______________________________________________
Mailing list: https://launchpad.net/~sabily.team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sabily.team
More help   : https://help.launchpad.net/ListHelp

رد على