newsGNU FreeDink - News: i18n and gettext

 
 
Latest News
New Maintainer posted by kjharcombe, Wed 01 Jun 2022 12:32:32 PM UTC
GNU FreeDink 109.6 posted by Beuc, Sun 17 Feb 2019 12:48:16 AM UTC
New FreeDink game data release posted by Beuc, Sun 20 Jan 2019 05:18:16 PM UTC
New FreeDink DFArc frontend 3.14 release posted by Beuc, Wed 06 Jun 2018 07:03:46 PM UTC
New FreeDink game data release posted by Beuc, Sun 02 Apr 2017 08:34:27 AM UTC

i18n and gettext

Item posted by Sylvain Beucler <Beuc> on Sun 07 Dec 2008 08:59:21 PM UTC.

At last it's now possible to translate Dink and its D-Mods using gettext :)

The engine searches for a message catalog in DMOD/l10n/XX/LC_MESSAGES/DMOD.mo and can display translations instead of your say()/say_stop()/say_xy()/etc. strings. It also supports dialog choices. For this the engine now uses UTF-8 internaly. FreeDink itself is also using gettext and is being translated.

The next steps are to polish the code and setup an overlay system, so that translators can easily mask a few files from the D-Mods with their localized versions, for example a modified graphic or a reimplementation of an English riddle puzzle.

I converted my years-old translation of Mystery Island and it rocks :) I'm have a couple quick scripts to convert other existing translations and generate a new .pot template catalog for other D-Mods.

 

Back to the top

Powered by Savane 3.13-4448.
Corresponding source code