Changes

Jump to navigation Jump to search
259 bytes added ,  17:23, 24 January 2008
Line 54: Line 54:  
Then you can upload the file backup.po in Pootle and translate. Then run the following command to return the PO file to normal XML again.
 
Then you can upload the file backup.po in Pootle and translate. Then run the following command to return the PO file to normal XML again.
   −
  po4a-translate -k 0 -f xml -o tagsonly="<trans>" -m backup -p backup.po -l backup_translated
+
  po4a-translate -k 0 -f xml -o tagsonly="<trans>" -m backup -p backup.po -l new_backup
      Line 81: Line 81:     
View the new bakup.po file in the new PO format. Excelent. Now you can translate PO with pootle, and return again to formmagick panel with this command:
 
View the new bakup.po file in the new PO format. Excelent. Now you can translate PO with pootle, and return again to formmagick panel with this command:
 +
 +
xml2po -p backup.po backup > new_backup
 +
 +
As you can see, if you not translate backup.po, new_backup file is equal to original backup file, BUT with one diference. new_backup file has added at the header:
 +
 +
<?xml version="1.0" encoding="utf-8"?>
 +
 +
Remove this line.
985

edits

Navigation menu