Date: Sun, 21 Jan 2007 17:53:29 +0000 From: Florent Thoumie <flz@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: <45B3A899.2060207@FreeBSD.org> In-Reply-To: <45B36737.6080208@FreeBSD.org> References: <cb5206420701190913j7b57f842g3909ed94977ea571@mail.gmail.com> <45B36737.6080208@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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@FreeBSD.org FreeBSD Committer [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFs6ieMxEkbVFH3PQRCn12AJsFkefE4GRRZQ+KIy3EnRLfdkJTHwCgiUnM ck5fuWLz9w6R8tlrzrX69Z4= =BR1c -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45B3A899.2060207>
