xboard-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[XBoard-devel] i18n patch for XBoard


From: A. Alper ATICI
Subject: [XBoard-devel] i18n patch for XBoard
Date: Mon, 1 Dec 2003 23:17:41 +0200
User-agent: Mutt/1.5.4i

Hello everyone,

I regret I don't make lengthy introductions of myself, 
but, hey, I've made a lengthy patch for you!
It adds internationalization support to XBoard, and
available for your testing at the following locations:

http://web.ttnet.net.tr/alperatici/xbrd.diff.gz
http://www.geocities.com/alper_atici/xbrd.diff.gz

Please note the following:

1. It's against v4.2.7 tarball.
2. WinBoard i18n is not there yet.
3. I've opted for a minimally intrusive patch, 
so it's not necessarily elegant, ultimate, etc.
but it works on my Fedora Linux setup.

4. Gettext support (runtime+tools) is supposed to be available
on your platform (there's no intl subdir).

5. If you have trouble applying patches, cd to original sources'
directory and run:
        zcat ../xbrd.diff.gz | patch -p1
assuming the patch file resides in parent dir.

6. After having applied it, you must run autoconf.
7. Before running ./configure && make , create your language.po
file and add your 2-letter language code to po/LINGUAS file.
For example, to add Turkish catalogue I'd run the following:
        msginit -i po/xboard.pot -o po/tr.po -l tr_TR
then translate strings in tr.po, and add tr into LINGUAS, which
has currently a single comment line in it. 

8. My acquaintance with XBoard is not older than a week, so
I might have missed strings, or marked ones not supposed to be
(esp. in backend.c). I'm also remotely familiar with Autotools,
let alone Xlib/Xt. You're warned.

9. Everything this patch adds can be skipped if you pass
disable-nls option to configure script.

10. And last, but not least, this work is NOT public domain.
I intend to transfer rights to FSF if/when it gets accepted.

best regards,
A. Alper ATICI

-- 

PGP keys @ http://web.ttnet.net.tr/alperatici/anahtar.asc
fpr(S) = DFA9 6619 70C7 400C 1DA8  7BFB 2C56 F3AF B824 F550 
fpr(E) = D314 04FF 7A8C EBE0 68AE  D692 A1B5 A14B C0CD 4D4A

Attachment: pgplBMpBK0cih.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]