Service-specific default locales
Doug Barton
dougb at FreeBSD.org
Mon Jan 22 00:52:02 UTC 2007
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
More information about the freebsd-rc
mailing list