Service-specific default locales
infofarmer at FreeBSD.org
Fri Feb 9 01:21:02 UTC 2007
On 2/9/07, Florent Thoumie <flz at freebsd.org> wrote:
> 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.
> Any update on that, do you need help or something?
I solved my immediate problem through hacks even
before posting here, so a good implementation is
not exactly at the top of my todo list. I'll be
happy to see it done by someone else, otherwise
I'll get to it myself later.
More information about the freebsd-rc