lang_defs.h

Jakson Aquino jaksonaquino at yahoo.com.br
Sun Feb 6 22:45:04 CET 2005


Hello All,

On May 21, 2001, Andreas Beyer wrote:
> I got a message from someone who would like o write
a Spanish
> translation of StatistX. I don't think it is wise to
expand the
> translation-via-macros method to an infinite number
of languages. 

I agree with Andreas Beyer. It seems that lang_defs.h
was created as a way of internationalizing statist.
However, it's not practical to have messages written
directly in the source code in more than two
languages. Thus, I think that we don't need the file
lang_defs.h anymore. I'm submitting a patch where,
with some deletions and with no addition, the program
is compiling as before, but without using the file
lang_defs.h.

To be sure that no bug was introduced, I succesfully
recompiled and ran statist 5 times: 

Linux: English, German, and gettext.
DOS  : English, and German. 

DLL are files used by dos and windows, right? While
reading info pages for gettext, I found the following
passage which implies that gettext can be used under
DOS:

   "To convert a PO file to a `.dll' file, the 
    `msgfmt' program can be used with the option
    `--csharp'.  The result will be a `.dll' 
    file containing a subclass of 
    `GettextResourceSet', which itself is a
     subclass of `ResourceSet'.  To convert a 
    `.dll' file containing a `GettextResourceSet'
    subclass back to a PO file, the `msgunfmt' 
    program can be used with the option `--csharp'."

I had made an attempting of creating a .dll file, but
I got the following error:

[jakson at localhost po]$ msgfmt --csharp -l pt_BR -d
/temp --verbose pt_BR.po
msgfmt: C# compiler not found, try installing pnet
msgfmt: compilation of C# class failed, please try
--verbose
353 translated messages, 18 fuzzy translations.
[jakson at localhost po]$ 

Is anyone interested in internationalizing Statist for
DOS? I will not become responsible for such a task,
because it's not easy to me, and because I'm already
satisfied with Linux.

Best regards,

Jakson


__________________________________________________
Converse com seus amigos em tempo real com o Yahoo! Messenger 
http://br.download.yahoo.com/messenger/ 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: statist_lang_defs_patch
Url: http://www.intevation.de/pipermail/statist-list/attachments/20050206/451ba3e3/statist_lang_defs_patch.txt


More information about the Statist-list mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)