Changes

Jump to navigation Jump to search
1,126 bytes added ,  17:06, 24 January 2008
no edit summary
Line 34: Line 34:     
--[[User:PicsOne|Normando Hall]] 11:46, 21 January 2008 (MST)
 
--[[User:PicsOne|Normando Hall]] 11:46, 21 January 2008 (MST)
 +
 +
----
 +
 +
== I need your help ==
 +
I want to colaborate with SME comunity with a translation system. With Pootle you can upload directly the PO files, those reside at /usr/share/locale. BUT formmagick panel can't, because these files are XML.
 +
 +
The idea is to convert from XML to PO before import in Pootle. To acomplish this, I tried some solutions.
 +
 +
The first is the converters come with Pootle without success (HTML2PO - TXT2PO).
 +
 +
The second is PO4A ( http://po4a.alioth.debian.org/index.php ), again, without success.
 +
 +
You can install enabling ATRPMS repo and install po4a.
 +
 +
To test, at your panels dir /etc/e-smith/locale/
 +
 +
po4a-gettextize -f xml -o tagsonly="<trans>" -m backup -p backup.po
 +
 +
po4a-translate -k 0 -f xml -o tagsonly="<trans>" -m backup -p backup.po -l backup_translated
 +
 +
The last is XML2PO ( http://linux.die.net/man/1/xml2po )
 +
 +
I have packaged for a better installation. You can download from
 +
http://mirror.contribs.org/smeserver/contribs/nhall/sme7/contribs/pootle/rpm/http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/nhall/sme7/contribs/pootle/rpm/gnome-doc-utils-0.12.0-1.noarch.rpm
985

edits

Navigation menu