Internationalization of Xconq
I have tried the Internationalization of Xconq.
It uses the gettext and the Tcl message catalog for localization support.
Download
Install
- Get the latest Xconq.
- Download patch-xconq-7.5pre-s.gz
- Do this:
$ cd xconq
$ zcat patch-xconq-7.5pre-s.gz | patch -l
$ sh s.sh
$ mkdir -p ~/.xconq/lib
$ mkdir -p ~/.xconq/locale/{your language}/LC_MESSAGES/
$ mkdir -p ~/.xconq/tclmsgcat
$ cp xconq.pot ~/.xconq/locale/{your language}/LC_MESSAGES/{your language}.po
$ cp en.msg ~/.xconq/tclmsgcat/{your language}.msg
- Install the Xconq
- Translate ~/.xconq/locale/{your language}/LC_MESSAGES/{your language}.po into your language.
- Convert it into xconq.mo.
$ msgfmt -o xconq.mo {your language}.po
- Translate ~/.xconq/tclmsgcat/{your language}.msg with MSGedit
(http://www.groy-groy.de/czerbst/tcltk.html).
- Translate game files you want to play(say, standard.g and stdunit.g).
Note that
if you modify 'name' for a object,
you have to define 'image-name' and 'char' for the object.
(these properties default to the value for 'name'.)
- Put the files into ~/.xconq/lib/
- Make a file "~/.xconq/lib/game.dir" with below content.
(
"standard"
)
- Cd to your home directory. (it is a must.)
- Type 'xconq -L ~/.xconq/lib/ -g standard'
Screenshots
Links
mailto: mniw at sol dot dti dot ne dot jp, tadalunch at sources dot redhat dot com
.