|
From: Dan M. <d-...@uc...> - 2001-05-18 15:58:52
|
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 wit= h 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=E1szl=F3 Kov=E1cs 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. Wha= t > 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 > Scr...@li... > http://lists.sourceforge.net/lists/listinfo/scrollkeeper-devel > |