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: