Service-specific default locales

Florent Thoumie flz at FreeBSD.org
Sun Jan 21 17:56:05 UTC 2007


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.

-- 
Florent Thoumie
flz at FreeBSD.org
FreeBSD Committer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-rc/attachments/20070121/dbcad7aa/signature.pgp


More information about the freebsd-rc mailing list