Languages are mixed in Plesk GUI

Created:

2016-11-16 12:56:26 UTC

Modified:

2017-08-16 16:04:57 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Languages are mixed in Plesk GUI

Applicable to:

  • Plesk 11.x for Linux

Symptoms

Languages are mixed in Plesk GUI (e.g. English and Russian words, when Russian locale was chosen).

Cause

Locale files have incorrect permissions:

[root@vps ~]# ls -dl /usr/local/psa/admin/common/resources/languages/ru-RU
ls: cannot access /usr/local/psa/admin/common/resources/languages/ru-RU: No such file or directory
d????????? ? ? ? ? ? ru-RU

The package that contains the files is not present on the Virtuozzo-node

[root@vps ~]# rpm -qf /usr/local/psa/admin/common/resources/languages/ru-RU
plesk-l10n-11.5.30-cos6.build115140401.12.noarch
[root@vps ~]# exit
exited from Container 7371

[root@hw ~]# ls -la /vz/private/7371/fs/root//usr/local/psa/admin/common/resources/languages/ru-RU/
drwsr-xr-x 3 root root 4096 Apr 1 09:53 .
drwxr-xr-x 23 root root 4096 Apr 9 01:15 ..
lrwxrwxrwx 1 root root 121 Mar 5 14:16 ._vzlnk_. -> ////centos/6/x86_64/plesk-l10n-11.5.30-cos6.build115130819.13.noarch/usr/local/psa/admin/common/resources/languages/ru-RU

Resolution

Download the package from http://autoinstall.plesk.com :

[root@hw ~]# cd ~
[root@hw ~]# wget http://autoinstall.pp.parallels.com/PSA_11.5.30/dist-rpm-CentOS-6-i386/base/plesk-l10n-11.5.30-cos6.build115130819.13.noarch.rpm

Extract the files of the package:

[root@hw ~]# mkdir /root/plesk-l10n-11.5.30-cos6.build115130819.13
[root@hw ~]# cd /root/plesk-l10n-11.5.30-cos6.build115130819.13
[root@hw ~]# rpm2cpio plesk-l10n-11.5.30-cos6.build115130819.13.noarch.rpm | cpio -idmv

Create required package folder in Virtuozzo-template and move the files of the package there

[root@hw ~]# mkdir /vz/template/centos/6/x86_64/plesk-l10n-11.5.30-cos6.build115130819.13.noarch
[root@hw ~]# mv /root/plesk-l10n-11.5.30-cos6.build115130819.13/usr /vz/template/centos/6/x86_64/plesk-l10n-11.5.30-cos6.build115130819.13.noarch/

Verify that locale files have proper permissions:

[root@vps ~]# ls -la /usr/local/psa/admin/common/resources/languages/ru-RU
total 12
drwxr-xr-x 3 root root 4096 Apr 14 18:27 .
drwxr-xr-x 23 root root 4096 Apr 9 01:15 ..
drwxr-xr-x 6 root root 4096 Apr 9 01:16 components
Have more questions? Submit a request
Please sign in to leave a comment.