Changes

Jump to navigation Jump to search
536 bytes added ,  17:19, 24 January 2008
Line 65: Line 65:     
Change at line 115 from "charset=UTF-8" to "charset=iso-8859-1"
 
Change at line 115 from "charset=UTF-8" to "charset=iso-8859-1"
 +
 +
Then change /usr/share/xml2po/empty.py
 +
 +
Line 27 from "return []" to "return ['base']"
 +
 +
Line 31 from "return []" to "return ['trans']"
 +
 +
Line 35 from "return []" to "return ['trans']"
 +
 +
Now you can test xml2po.
 +
 +
To test, at your panels dir /etc/e-smith/locale/en-us/etc/e-smith/web/functions choose one file to translate (ex. backup), and run
 +
 +
xml2po -m empty -e -o backup.po backup
 +
 +
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:
985

edits

Navigation menu