On Tue, Nov 19, 2002 at 10:53:36PM +0100, Petter Reinholdtsen wrote: [...] > > To change language, set DEBCONF_LANG environment variable to a > > language code (de, pt_BR, etc.) before running cdebconf; I have no > > idea yet on how to let user choose his own language. > > Can you add support for gettext like LANGUAGE variable, where you can > specify several languages in priority order.
Sure, this should be quite easy. > I suggest using the DEBCONF_LANG variable as the locale variable, > and using DEBCONF_LANGUAGE as a colon-separated list of language > codes, just like gettext. Currently only language codes are supported, not locale names. > I want to be able to request several languages in priority order, and > then get the text string using the first available translation. This > way, we can use DEBCONF_LANGUAGE=no:nb:nn:dk:sv to get familiar > translations even if some of the phrases are missing on Norwegian > Bokm�l. Ok. My first concern is to have a debian-installer/language template to allow language selection, implementing DEBCONF_LANGUAGE comes next. Denis -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

