On 3/24/07, Per Inge Mathisen <[EMAIL PROTECTED]> wrote:

The attached giant patch adds gettext support for Warzone, and the
beginnings of a Norwegian translation.

There are a number of caveats: It moves all strings defined in the C
code back into the C files using gettext instead of using the strres
system (thanks Huehner for writing the script that did this!). It does
not change anything related to how strings defined in the data/
directory are handled, they still use the strres system. Warzone does
not support non-English characters, and sometimes show (huge!)
graphics in place of such characters instead, for some reason I do not
yet understand.


I think wz uses a texture page for characters(hardware accelerated 2D
bmp)...probably the norweigian character has a weird index(out of a-z
and A-Z range) and used the wrong page/coords...

Fixing the above issues will require more work.

As regards translations, we need to come up with a conclusion as to
what we want. I think we have the following options:
* Use the existing system. It means we have to maintain all strings
outside the C files where they are used, which is tiresome.
* Use gettext. This means we get lots of tool support for free, since
gettext is, AFAICT, what everyone else in the free software universe
is using. Lots of translators are familiar with it.
* Use only English. We can still move the strings into the C files to
ease maintenance.

You may guess which option I like best. But what I want to know is
what the rest of you think.

I would very much like to get a resolution on this pretty quick,
because it sucks to maintain such a huge patch over time.

- Per


Maybe we should start a poll/thread in forum to recieve feedback from
users...coz at the end of day it's not us who are going to do translations
for all languages...


Maintaining a huge patch does suck,it seems I could never resolve conflicts
with recent commits in my 2 huge patches without making wz crash at
startup...
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to