[horde] Locales and FreeBSD

Richard Wallace rwallace at thewallacepack.net
Tue Dec 21 08:28:07 PST 2004


Like I said, I tried changing the $nls['alias']['en'] line but that 
didn't help at all.  I eventually just created a symbolic link from 
en_US -> en_US.ISO8859-1 in /usr/share/locale.  It's just a quick fix. 
I'd likely have to do the same for all the other locales that Horde 
supports so I don't think it's the "right thing" to do here.

A little more looking and it seems the problem is that the default 
charset is set to ISO-8859-1, but there shouldn't be a dash after the 
ISO.  It should just be ISO8859-1.  I changed that in my nls.php file 
and it works perfectly.

mbydalek at mobilemini.com wrote:
> I noticed this as well and brought it up here
> http://bugs.horde.org/ticket/?id=984
> 
> The last response by Jan doesn't make any sense tho, as there is no mention
> of ISO8859-1 whatsoever in the nls.php.
> 
> Perhaps the easiest way to resolve this is to put a note about FreeBSD to
> change the nls.php to "{locale}.ISO8859-1" as it will affect every language.
> 
> Thoughts?
> 
> -Mike
> 
> 
> 
>>-----Original Message-----
>>From: Richard Wallace [mailto:rwallace at thewallacepack.net] 
>>Sent: Tuesday, December 21, 2004 8:33 AM
>>To: horde at lists.horde.org
>>Subject: [horde] Locales and FreeBSD
>>
>>
>>Hello,
>>
>>I'm having a problem using chora with an svn repository on 
>>FreeBSD. Here's the error message I get.
>>
>>svn: error: cannot set LC_ALL locale
>>svn: error: environment variable LANG is en_US
>>svn: error: please check that your locale name is correct
>>
>>I think the problem is that the locale on FreeBSD is not 
>>en_US, it's actually en_US.ISO8859-1.  I tried running the 
>>commands from the command line with LANG set equal to the two 
>>different values and the en_US.ISO8859-1 is the only one that worked.
>>
>>I tried changing this in the horde/config/nls.php file by 
>>setting $nls['aliases']['en'] equal to en_US.ISO8859-1 and 
>>that didn't work.
>>
>>Any suggestions on where else I might change this?
>>
>>Thanks,
>>Rich
>>
>>-- 
>>Horde mailing list - Join the hunt: 
>>http://horde.org/bounties/#horde Frequently Asked Questions: 
>>http://horde.org/faq/ To unsubscribe, mail: 
>>horde-unsubscribe at lists.horde.org
>>



More information about the horde mailing list