Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change Squirrelmail language
#1
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:
<code>apt-get install bzip2</code>

Then create an empty directory, and download the desired language pack <a href="http://sourceforge.net/project/showfiles.php?group_id=311&package_id=110388&release_id=562982">here</a>.

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:
<code>dpkg-reconfigure locales</code>

Run the install script:
<code>./install</code>

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

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

First compile the locale:
<code>./compilepo xx_XX</code>

Then merge:
<code>./compilepo xx_XX</code>

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

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

Restored from old drupal forum, for user uid:2459 username:ksga
You may reset your password to access your new account here.
Reply
#2
How do I download language pack from webpage in terminal ?

Restored from old drupal forum, for user uid:2459 username:ksga
You may reset your password to access your new account here.
Reply
#3
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://......



Restored from old drupal forum, for user uid:2253 username:forcevision
You may reset your password to access your new account here.
Reply
#4
Yes I did but then I only get a php file ?

Or what is the link ?

Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Reply
#5
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:
<code>Are you having problems with the download? Please use this direct link or try another mirror.</code>
Use the "direct link", like this:
<code>wget http://ovh.dl.sourceforge.net/sourceforge/squirrelmail/all_locales-1.4.13-20071220.tar.gz</code>


Restored from old drupal forum, for user uid:2253 username:forcevision
You may reset your password to access your new account here.
Reply
#6
root@karabas:/var/www/squirrelmail/po# ./compilepo ru_RU
bash: ./compilepo: Permission denied

Also I can't change permissions on squirrelmail map


Restored from old drupal forum, for user uid:2459 username:ksga
You may reset your password to access your new account here.
Reply


Forum Jump:


Users browsing this thread: 7 Guest(s)

Online Shopping App
Online Shopping - E-Commerce Platform
Online Shopping - E-Commerce Platform
Feinunze Schmuck Jewelery Online Shopping