Converts TikiWiki's language.php files to GNU Gettext's PO format, for easy translation and maintenance
Feature » I18N & translation
PO Convertor for TikiWiki
Intro
Here are two small utilities to convert between TikiWiki's language.php files and GNU gettext PO files. PO files are generally easier to translate since a number of tools are available to automate this. |
i18n Team i18n content
|
PO tools use the Translate toolkit
Moreover, the Translate project has produced Pootle
The utilities should make it easier to pick up on a stale Tikiwiki translation.
Prerequisites:
- Python interpreter (http://www.python.org
) installed on your system
- Translate toolkit (http://translate.sf.net
), downloaded and installed on your system
Usage
- python tiki2po.py infile.php outfile.po # produces a PO from TikiWiki's language file
- python po2tiki.py infile.po outfile.php # produces a TikiWiki's language file from PO
Download
- By installing the Translate Toolkit you'll get this script automatically, however, the souce is available from SVN should you want it separately: tiki2po
and po2tiki
.
Contact
clouserwHistory
filmil originally wrote a script in 2005 which clouserw rewrote to work with the Toolkit in 2008.
Contributors to this page: gezza
,
clouserw
,
xavi
and
filmil
.
Page last modified on Sunday 11 October 2009 09:57:11 CEST by gezza
.
Sidebar
Search by Page Name
Shoutbox
sniperwork
:
Just browsing this great site.
freeman57
:
Just wondering if a 4.2 is close-ish?
wmike
:
thinking about a notification while receiving a chat message ;)
rmcc4444
:
checking out the forums.
vmascello
:
using trackers, Permission:tiki_p_create_tracker_items for users in group Registered but user with "tiki-view_tracker.php?trackerId=1" sees list of items inserted.i dont'want this. tnks
