bug-texinfo
[Top][All Lists]
Advanced

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

Re: LANG and @documentlanguage


From: Dumas Patrice
Subject: Re: LANG and @documentlanguage
Date: Tue, 2 Dec 2003 12:40:12 +0100
User-agent: Mutt/1.4.1i

> typedef enum translations_num
> {
>   Monday_trans,
>   Tuesday_trans,
>   //...
> } translations_num;

I don't know if it is possible, but I think that it would help code maintenance
if the identifier associated with text to be translated was the english 
text, as what is done with gettext. Thus instead of using 
translation_table[Monday_trans] in the code, I think it would be better to 
use something like translation("monday") and use hash map instead of a table.

Pat




reply via email to

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