Change Squirrelmail language

When you try to change the language of SM you'll probably get a little disappointed - nothing changes.
The explanation is quite simple, the localization files aren't installed by default, and apt-get isn't your friend as EHCP doesn't use a package manager to install SM, but instead uses a customized set of files.

But don't despair. It's actually quite easy to install extra locales.

Firstly make sure that you've got the needed packages:
apt-get install bzip2

Then create an empty directory, and download the desired language pack here.

Extract the language pack. You need the correct character set installed. Check the extracted file setup.php (look for the line $languages['xx_XX']['LOCALE'] = array('xx_XX.ISO8859-1',...) to make sure which set is used in the locale file. If missing, or in doubt run the following command, and check the necessary sets:
dpkg-reconfigure locales

Run the install script:
./install

It will ask for your path to your squirrelmail installation:
/var/www/vhosts/ehcp/webmail/

Change to the directory containing the compile scripts:
cd /var/www/vhosts/ehcp/webmail/po

First compile the locale:
./compilepo xx_XX

Then merge:
./compilepo xx_XX

To be on the safe side, restart your webserver:
/etc/init.d/apache2 restart

After changing your language (Options > Display Preferences > Language > Submit) you have to click "Refresh Page", and you're done.

Forums: 

How do I download language pack from webpage in terminal ?

find language pack location in your browser/firefox,
right click on language pack file, copy download location,
go to terminal / console,

type wget, then paste the url of language file
wget http://......

Yes I did but then I only get a php file ?

Or what is the link ?

Hi forcevision
If you follow the link i supplied in the original post, you get a list of the available languages.
When you select one, you are sent to the download page. On the top of this site you will find the following line:
Are you having problems with the download? Please use this direct link or try another mirror.
Use the "direct link", like this:
wget http://ovh.dl.sourceforge.net/sourceforge/squirrelmail/all_locales-1.4.13-20071220.tar.gz

root@karabas:/var/www/squirrelmail/po# ./compilepo ru_RU
bash: ./compilepo: Permission denied

Also I can't change permissions on squirrelmail map