Date: Sun, 21 Jan 2007 16:23:57 -0800 From: Doug Barton <dougb@FreeBSD.org> To: Florent Thoumie <flz@FreeBSD.org> Cc: Andrew Pantyukhin <infofarmer@FreeBSD.org>, rc@freebsd.org Subject: Re: Service-specific default locales Message-ID: <45B4041D.1090500@FreeBSD.org> In-Reply-To: <45B3A899.2060207@FreeBSD.org> References: <cb5206420701190913j7b57f842g3909ed94977ea571@mail.gmail.com> <45B36737.6080208@FreeBSD.org> <45B3A899.2060207@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Florent Thoumie wrote:
> Florent Thoumie wrote:
>> Andrew Pantyukhin wrote:
>>> I need to run different services in different locales
>>> (basically LANG/LC_ALL changed). Before I look at how
>>> to implement it, is there any objection to
>>> <name>_locale presetting the two variables to its
>>> value (and possibly some error-checking via locale(1)?
>>>
>>> As for a site-wide default, I currently have "export
>>> LANG=en_US.UTF-8" in my rc.conf. Should we introduce
>>> a general "locale" variable for this?
>> Makes sense to me. Have a look at *_nice variable for example.
>
> Thinking about it, maybe something like <name>_env would be better
> (cause more generic). Of course you wouldn't be able to do error
> checking but I'm not sure it's so useful anyway.
I tend to agree with you on both counts. If we were to see a lot more
requests for something like this, then it would certainly be worth
pursuing. Otherwise I fear that we would end up too far over on the
configurability======usability continuum.
Doug
--
This .signature sanitized for your protection
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45B4041D.1090500>
