Re: Locale fallback
- From: Dan Mueth <d-mueth uchicago edu>
- To: László Kovács <laszlo kovacs Sun COM>
- Cc: <scrollkeeper-devel sourceforge net>,GNOME i18n list <gnome-i18n gnome org>
- Subject: Re: Locale fallback
- Date: Fri, 18 May 2001 10:56:43 -0500 (CDT)
Hi,
I thought I would forward Laszlo's question to the mailing list for GNOME
translators so they could comment.
To put a little context around this for anybody who isn't following
ScrollKeeper: ScrollKeeper is being used to populate the help browser with
a list of documents available. Because many locales do not have
all documents translated, Laszlo is allowing for locale fallback. This
way one can list the order of preference of locales. If the document
isn't available in your first choice locale, it goes on to see if it is
available in your second choice, ...
Dan
On Thu, 17 May 2001, László Kovács wrote:
> Hi,
>
> This is mostly finished now, I have on issue to be sorted. The fallback
> is basically a merge of trees according to a couple of locale related
> environment variables. The ones I consider are LC_MESSAGES, LC_ALL and
> LANG. I take the locale list from whichever is first set (in the order
> described previously) and use that.
>
> E.g. if LC_MESSAGES is da:de:en_US then these three category trees plus
> the C locale tree at the end get merged and the result is returned. What
> doesnt happen is to try to find partial locale trees if the full locale
> ones are not available. Example:
>
> if LC_MESSAGES is es:pt_BR:C then I check for es, pt_BR and C, but I
> dont check for pt if pt_BR is not there. Do people think this is ok or
> it should be changed (so that it would check for pt if pt_BR is not
> there)?
>
> Thanks,
>
> Laszlo
>
> _______________________________________________
> Scrollkeeper-devel mailing list
> Scrollkeeper-devel@lists.sourceforge.net
> http://lists.sourceforge.net/lists/listinfo/scrollkeeper-devel
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]