lynx-dev
[Top][All Lists]
Advanced

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

Re: [Lynx-dev] Proposed patch to init preferred-doc-lang from LANG/LANGU


From: Henry Nelson
Subject: Re: [Lynx-dev] Proposed patch to init preferred-doc-lang from LANG/LANGUAGE
Date: Mon, 23 Apr 2007 07:13:44 +0900
User-agent: Mutt/1.5.13 (2006-08-11)

On Sun, Apr 22, 2007 at 05:12:57PM -0400, Chuck Houpt wrote:
> I'd like to propose/submit the attached patch, which makes Lynx use 
> the LANG/LANGUAGE environment variables to generate the preferred 
> document language setting (PREFERRED_LANGUAGE). The 
> PREFERRED_LANGUAGE setting is used as the Accept-Language header in 
> HTTP requests.
> 
> At the moment, Lynx defaults to English for the PREFERRED_LANGUAGE, 
> although users can set this with Options/.lynxrc.
> 
> I think it would be useful to default PREFERRED_LANGUAGE based on 
> LANG/LANGUAGE, because then both the UI and documents would be 
> displayed in the user's favorite languages.

I don't understand the plural of "languages".  If LANG/LANGUAGE sets
PREFERRED_LANGUAGE, then won't it be locked into that single language?

But, as for the patch, no problem as long as the "Options/.lynxrc" mechanism
remains as it is, since it really doesn't matter so much what the default is
when not overridden with the Options.

As an aside, what may be the preferred language in one application may not
be what is preferred in another.  It may also be that LANG is already hacked
to the wrong language just to get some other app to work right.

__Henry

  "Using Lynx is like wearing a really good pair of shades: cuts out
   the glare and harmful UV (ultra-vanity), and you feel so-o-o COOL."
                                         -- me, March 1999




reply via email to

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