[dokuwiki] Using gettext for i18n

  • From: Matti Pöllä <mpo@xxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Wed, 28 Jun 2006 15:36:57 +0300

Hello all,

Has there been discussion about switching DokuWiki to use a more
sophisticated translation environment, such as GNU gettext[1][2] ?

While the current way of printing localized messages using code like

  print $lang['breadcrumb'].':';

does the job ok, it has the consequence of making the translation
process a bit cumbersome as each translator has to (more or less)
manually keep track of changes in inc/lang/??/.

Using gettext, the translations could be tracked automatically and
edited with standard localization software (such as poedit, kdebabel,
gtranslator etc.) and even simpler web-based tools such as the Rosetta
Translation Portal. Andi, what do you think? Other comments?


cheers,

-Matti


[1] http://www.onlamp.com/pub/a/php/2002/06/13/php.html
[2] http://www.gnu.org/software/gettext/
[3] https://launchpad.net/products/rosetta
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: