Locale *.mo *.po files

BlitzMax Forums/Brucey's Modules/Locale *.mo *.po files

Armitage 1982(Posted 2009) [#1]
Hi Brucey

How did you proceed with Locale to create *.mo and *.po files for RadioBaH in order to have separates language files ?

Currently I'm using the BLF Builder and my Database is already very huge with 2 languages (FR and EN).
I suppose there is no chance to produce such files from a BLF file ?

Thanks


Brucey(Posted 2009) [#2]
You can zip the xml files. Libxml should recognise a zipped xml and unpack it on the fly at load time.

How did you proceed to create *.mo and *.po files for RadioBaH in order to have separates language files ?

po/mo is a standard linux localisation format. The .mo is a "compiled" version of the .po source. There's a nice utility I use (Poedit) for creating and editing them.

wxMax has built in support (through wx.wxLocale) for handling these files.

Interstingly, Qt seems to use its own (.ts) format.


Armitage 1982(Posted 2009) [#3]
Oh OK !
Sorry I didn't know that.

I then will stick with the current BLF file system.