bug-texinfo
[Top][All Lists]
Advanced

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

Re: LANG and @documentlanguage


From: Eli Zaretskii
Subject: Re: LANG and @documentlanguage
Date: Tue, 02 Dec 2003 19:22:51 +0200

> From: Akim Demaille <address@hidden>
> Date: Tue, 02 Dec 2003 10:03:03 +0100
> 
> handle_documentlanguage ()
> {
>   // - save current locale
>   // - set to that of the document
>   // - malloc a table TRANSLATIONS
>   translations[Monday_trans] = _("Monday");
>   translations[Tuesday_trans] = _("Tuesday");
>   // ...
>   // Restore the locale
> }
> 
> and then use this table.

That would require some tool to gather all the strings which need
this handling in that single function, no?  Or is such a tool already
available in gettext (if so, how does it know which strings need what
locale)?





reply via email to

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