Skip to Content.
Sympa Menu

en - Re: [sympa-users] Installation on freebsd

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Olivier Salaün - CRU <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] Installation on freebsd
  • Date: Fri, 03 Mar 2006 14:34:56 +0100

Adam Bernstein wrote:

of course since it is freebsd not linux I do not have neither /etc/locale.gen or /etc/sysconfig/i18n

Yes, on FreeBSD you just need to make symlinks like the following, under /usr/share/locale, for each language you want to enable:

lrwxr-xr-x 1 root wheel 15 Aug 12 2005 en_US -> en_US.ISO8859-1
lrwxr-xr-x 1 root wheel 15 Aug 12 2005 fr_FR -> fr_FR.ISO8859-1
lrwxr-xr-x 1 root wheel 16 Aug 12 2005 hu_HU -> hu_HU.ISO8859-2/
lrwxr-xr-x 1 root wheel 15 Aug 12 2005 it_IT -> it_IT.ISO8859-1

Actually I've just noticed a file /usr/local/share/local/locale.alias that I hadn't seen before, which may provide a better way, but it may not quite do it.

Hopefuly you should not have to set these symlinks anymore : we've extended the Language::SetLang() subroutine to try different algorythms (ll_CC.charset-x, ll_CC.CHARSET-x, ll_CC.charsetx, ll_CC,ll). It should work fine on most system. The only requirement remains that you need to install the corresponding locales on some system (using dpkg-reconfigure on Debian for instance).



Archive powered by MHonArc 2.6.19+.

Top of Page