Hi all,
----- Original Message -----
From: "Erin Schnabel" <[EMAIL PROTECTED]>
To: "SquirrelMail Users" <[EMAIL PROTECTED]>
Sent: Tuesday, January 28, 2003 10:08
PM
Subject: [SM-USERS] Re: DefaultTranslation
Problem
> woVi wrote:
> > I'm trying to set a default language for my users but everything still being in english.
>
> > I tried inserting at the preference file(s) language='es_ES' (yes, i'm from spain ;-) )
> > I tried changing the preference via the options squirrelmail page and setting the language to spanish...
> > And everything still in english except the help pages.
>
> Ok. Since I saw you on the channel last night, I've been banging my head
> on this. I am using latest 1.4.x CVS, and I was observing the same
> thing. Drove me nuts.
>
> So. Here's what *I* had to do. The help files are encoded in the right
> language, so the fact that they're showing up doesn't mean anything
> except that we're reading your preferences correctly. The culprit is
> gettext, and available locales.
>
> Since I'm an english speaker, I didn't have much installed in the way of
> extra locales. I had to go and add the target locales (I use a
> package-based Linux installation, so it was a matter of adding
> locales-de, locales-es, etc). After adding the target locale, I
> restarted apache, and boom - everything encoded as it should be!
>
> I highly doubt it's something in the SquirrelMail config - there are
> people that use it quite successfully. If 1.2.10 is being too much of a
> pain, you can try 1.4.0 RC2, and see if that helps. That said, I really
> think the finger should be pointed at gettext, which fails silently if
> there is a problem, leaving only what you see - i.e. untranslated text.
>
> Erin
> (ebullient)
>
> > I'm trying to set a default language for my users but everything still being in english.
>
> > I tried inserting at the preference file(s) language='es_ES' (yes, i'm from spain ;-) )
> > I tried changing the preference via the options squirrelmail page and setting the language to spanish...
> > And everything still in english except the help pages.
>
> Ok. Since I saw you on the channel last night, I've been banging my head
> on this. I am using latest 1.4.x CVS, and I was observing the same
> thing. Drove me nuts.
>
> So. Here's what *I* had to do. The help files are encoded in the right
> language, so the fact that they're showing up doesn't mean anything
> except that we're reading your preferences correctly. The culprit is
> gettext, and available locales.
>
> Since I'm an english speaker, I didn't have much installed in the way of
> extra locales. I had to go and add the target locales (I use a
> package-based Linux installation, so it was a matter of adding
> locales-de, locales-es, etc). After adding the target locale, I
> restarted apache, and boom - everything encoded as it should be!
>
> I highly doubt it's something in the SquirrelMail config - there are
> people that use it quite successfully. If 1.2.10 is being too much of a
> pain, you can try 1.4.0 RC2, and see if that helps. That said, I really
> think the finger should be pointed at gettext, which fails silently if
> there is a problem, leaving only what you see - i.e. untranslated text.
>
> Erin
> (ebullient)
>
You where right, I was wrong. It wasn't a SM
problem, it was a locales problem, well, it was my conf problem. I ran
"dpg-reconfigure locales" on my debian woody system and I selected all the
locales I would work with (es_ES) and everything got fixed. Everything is
translated correctly now.
Thanks a lot Erin.
| ______________________________________________
woVi hardlock.net email: [EMAIL PROTECTED] web: http://www.hardlock.net pgp key id: 0x18C1DBBD pgp key fingerprint: 8C76 2FEC 9767 E8C7 FB0A 3107 EE85 8FAC 18C1 DBBD ______________________________________________ |
