Adding Multiple Language support and Fixing issues with slovenian symbols on Squirrelmail Web Mail on Linux

No doubt Squirrelmail Web Mail is one excellent piece of software you can useon top of Qmail mail server.
However as with every piece of software you face issues every now and then.
The issue that a colleague of mine has encountered at the Company where are work is was caused by a broken character encodingof some of the slovenian letters like the Slovenian “c” and Slovenian “s”.
Besides that I’ve noted that the basic Squirrelmail installation I have previously done, some time ago wasmissing the all languages squirrelmail internationalization pack.

I revealed the missing Squirrelmail internationalzation by going to Squirrel Web mail’s installation directory /var/www/squirrelmail/locales/ and listing the content of the directory.:
The locales directory listing displayed only 4 files README.locales, index.php and timezones.cfg as well as a directory containing the default encoding configured to squirrelmail

The file README.locales explains thoroughly how to install all of the available translation languages to squirrelmail.
If you feel uncertain / informed on what you do I suggest you read The documentation available on Internationalization on Squirrelmail’s website
Anyways here is how for the lazy ones step by step walk through:

debian-server:~# mkdir /root/locales/;
debian-server:~# cd /root/locales/
debian-server:/root/locales# wget"
debian-server:/root/locales# tar -zxvvf all_locales-1.4.18-20090526.tar.gz

The above commands will download all locales for the 1.4 generation stable release of Squirrelmail.

Note that it’s would be a good idea to download the latest all_locales on squirrelmail’s download webpage .

Now you will have in your /root/locales/ the following directory structure.

all_locales-1.4.18-20090526.tar.gz COPYING.locales images/ locale/ TRANSLATORS
ChangeLog.locales help/ install* ReleaseNotes.locales version

To install all the locales addons to squirrelmail to achieve internationalization of your Web mail you’ll have to invoke the install script which can be seen from the above file list.

debian-server:/root/locales# ./install
Please enter path to your squirrelmail installation: /var/www/squirrelmail/

Above in the prompt urging you to enter a directory enter the location to your squirrelmail installation in my case as shown above it’s /var/www/squirrelmail

That’s all now all necessery files will be merged with your squirrelmail installation directory.

Now you can safely remove the /root/locales squirrelmail internationalization installer files
debian-server:~# rm -rf /root/locales

However there is one more vital step to partake to assure Slovenian Symbols as well as other character encoding written in the UTF-8 standard will appear in your email communcation in squirrel web mail.
You’ll be required to change Squirrelmail’s Default Language
debian-server:/var/www/squirrelmail# ./configure

SquirrelMail Configuration : Read: config.php (1.4.0)
Main Menu —
1. Organization Preferences
2. Server Settings
3. Folder Defaults
4. General Options
5. Themes
6. Address Books
7. Message of the Day (MOTD)
8. Plugins
9. Database
10. Languages

D. Set pre-defined settings for specific IMAP servers

C Turn color on
S Save data
Q Quit

In the above screen Choose: 10. Languages The following screen will Appear.

SquirrelMail Configuration : Read: config.php (1.4.0)
Language preferences
1. Default Language : en_US
2. Default Charset : iso-8859-2
3. Enable lossy encoding : false

R Return to Main Menu
C Turn color on
S Save data
Q Quit

Here you’ll need to change the variables: 2. and 3..
There Default Charset variable should be changed to utf-8 as well as the Enable lossy encoding variable should be switched to true.

If you wonder what Enable lossy encoding does please read the Supported Charsets documentation section on Squirrelmail’s website
The description for Lossy Encoding on the above link is:
Lossy Encoding – allows charset conversions when the output charset does not support all symbols used in the original email charset.

Hopefully this will solve your issues with broken Slovenian encoding in Squirrelmail and will add internationalization support in your Squirrel Web Mail.
If use the commend form and inform me about the issues you encounter and I’ll try to help!

Share this on

More helpful Articles

Download PDFDownload PDF


20 Responses to “Adding Multiple Language support and Fixing issues with slovenian symbols on Squirrelmail Web Mail on Linux”

  1. Jonas says:

    guten Mittag echt toller Blog, machst du Geld dadurch ? Ich selber hab bei meiner Webseite ewig nach Verdienstmoeglichkeiten gesucht aber nix überzeugendes gefunden. vor kurzem bin ich zum Glück auf Backlinkseller (Hier die Adresse: ) getroffen, dadurch verdiene ich schon fast 56 € im Monat. Hättest du vielleicht eine noch bessere Alternative fuer mich ? Waehre echt gut. 354h5j

  2. Shaunna Kues says:

    to be able to charge any in order to blog?

  3. Jenise Godbey says:

    Nette Site! Der Beitrag ist gut geschrieben. Danke dafuer.

  4. admin says:

    nice I have even a German readers :)

  5. Felton Capua says:

    There are a heap of nice ideas in this post. I’m signing up to the rss.

  6. mike rossi says:

    I am speechless. This is a superb blog and very engaging too. Excellent work! That’s not really much coming from an amateur writer like me, but it’s all I could say after diving into your posts. Excellent grammar and vocabulary. Not like other blogs. You really know what you’re talking about too. So much that you made me want to learn more. Your blog has become a stepping stone for me, my friend. Thank you for the articulate journey. I really enjoyed the 8 posts that I have read so far.

  7. how to kiss a woman says:

    For some reason, I can’t see all of this article, the text keeps hiding? Are you using XHTML?

  8. Teresita Stromer says:

    Hello, this is a truly fascinating web blog and ive loved reading many in the content and posts contained upon the internet site, sustain the wonderful get the job done and hope to read a great deal much more exciting articles or blog posts inside the time to arrive.

  9. Susie Songster says:

    Thank you for another wonderful post. Where else could anyone get that kind of info in like a ideal way of writing? I’ve a presentation next week, and I’m around the appear for like information.

  10. Latoria Cuhel says:

    This is a Fantastic article! I hope you not mind.I published an excerpt on the website and linked back to your blog site for people to read the full version. Many thanks for the advice.

  11. Tai Computers Ltd says:

    There is a lot of bookmarks back to this subject, which is where I found it.

  12. Tai Computers Ltd says:

    Good tips, this place is like the oracle.

  13. Tommie Mclaughlin says:

    Simply bookmarked your own web site, gives thanks for sharing!

  14. Casandra Nicometo says:

    I was just searching for this information for a while. After six hours of continuous Googleing, at last I got it in your website. I wonder what’s the lack of Google strategy that don’t rank this type of informative websites in top of the list. Normally the top websites are full of garbage.

  15. customizable dog jerseys says:

    Smile will be the key to remain young along with cute. Naks, bakit ka nakangiti?

  16. MandyF says:

    Good Day Mate, I am commenting from Adelaide Australia. We have had a lot of wind lately and I’ve only just been able to connect to the blogsphere Thanks for the interesting post. It inspired me a lot with my TAFE human relations assessment task. God Bless the internet !

  17. Dominic Settler says:

    This article offers clear idea in support of the new visitors of blogging, that in fact how to do blogging and site-building.

  18. Cary Centeno says:

    to Luecha Na Malai, how dare you say that you are "sorry to say that many of my compatriots do not really practice Buddhism. Instead, they choose to behave like crooks"! What about the muslims, the animists, the christians, the atheists, are they crooks for not practicing Buddhism. I'm sorry, but the expectation that people must behave in a particular way or be labled crooks is at the very heart of the problem. Cutural uniformity is not the answer, rather tolerant diversity is. People should behave as citizens, with or without religion.

  19. says:

    I just like this site a lot, saved to bookmarks.

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.