Originally posted by defencer
See here:
/usr/local/psa/admin/plib/locales/en-US/messages_en-US.php
Interesting theme. Can you explain me, why all the other
language-folder with its files already exist there?
[root@me /]# cd /usr/local/psa/admin/plib/locales/
[root@me locales]# ls -l
total 104
drwxr-xr-x 2 root root 4096 Apr 27 12:45 ca-ES
drwxr-xr-x 2 root root 4096 Apr 27 12:45 de-DE
drwxr-xr-x 2 root root 4096 Apr 27 12:45 en-US
drwxr-xr-x 2 root root 4096 Apr 27 12:45 es-ES
drwxr-xr-x 2 root root 4096 Apr 27 12:45 fi-FI
drwxr-xr-x 2 root root 4096 Apr 27 12:45 fr-FR
drwxr-xr-x 2 root root 4096 Apr 27 12:45 it-IT
drwxr-xr-x 2 root root 4096 Apr 27 12:45 ja-JP
drwxr-xr-x 2 root root 4096 Apr 27 12:45 nl-NL
drwxr-xr-x 2 root root 4096 Apr 27 12:45 pl-PL
drwxr-xr-x 2 root root 4096 Apr 27 12:45 ru-RU
drwxr-xr-x 2 root root 4096 Apr 27 12:45 tr-TR
drwxr-xr-x 2 root root 4096 Apr 27 12:45 zh-CN
F.e, if I look into the folder de-DE, it shows you 2 files
-rw-r--r-- 1 root root 5148 Feb 7 03:50 conhelp_pmm_de-DE.php
-rw-r--r-- 1 root root 6709 Feb 7 03:50 messages_pmm_de-DE.php
If I look in the folder en-US, it shows you 4 files
-rw-r--r-- 1 root psaadm 111134 Jan 27 22:24 conhelp_en-US.php
-rw-r--r-- 1 root root 4468 Feb 7 03:50 conhelp_pmm_en-US.php
-rw-r--r-- 1 root psaadm 191641 Jan 27 22:24 messages_en-US.php
-rw-r--r-- 1 root root 6293 Feb 7 03:50 messages_pmm_en-US.php
So, to install his own language and also to make active this
language, is it correct just only
1) download
conhelp_en-US.php
messages_en-US.ph
2) rename
conhelp_en-US.php --> conhelp_de-DE.php
messages_en-US.php --> messages_de-DE.php
3) translate
conhelp_de-DE.php
messages_de-DE.php
4) upload
conhelp_de-DE.php -->
drwxr-xr-x 2 root root 4096 Apr 27 12:45 de-DE
messages_de-DE.php -->
drwxr-xr-x 2 root root 4096 Apr 27 12:45 de-DE
5) chown
chown -c root
saadm conhelp_de-DE.php
chown -c root
saadm messages_de-DE.php
6) make it active at
https://www.yourdomainname.tld:8443/
Hmm... no idea. Needn't there also be done anything in the
SQL under the table "psa"?
But I must say, 111134 Bytes for conhelp_en-US.php and
191641 Bytes for messages_en-US.php to translate it in
another language, that's much work.
vi -R conhelp_en-US.php
vi -R messages_en-US.php
I think, it is then more rentable to buy it for 99 USD at
plesk.com or to have a look around where this
conhelp_de-DE.php and messages_de-DE.php can be downloaded
(hmm?).
But back to the original question. Let's say, that I want to
have the "bavarian" language (BAY) which is spoken at the
world-famous Octoberfestival in Munich while drinking the
good old bavarian beer. YAP! You know my humor and my
sarcasmus, but sometimes Plesk really frustrate and you need
"a Mass" Beer then. And another "Mass" Beer. And another
"Mass" Beer. And another one. And... you sit nowaday
still in front of Plesk and there is no bavarian language
around here. Geez. It could happen then, that... *g* Hey, no
panic, that's very normal in Bavaria and the beer is
excellent. The big problem is only: If a northern german
comes to Bavaria (he is then a foreigner) and this guy has
also a Plesk-Server and want to admin his Plesk via the
Internet in Bavaria... at the Octoberfestival... while he drinks
the bavarian beer.... oh this will not have a good end. *lol* *gd&rvfa*
And so, the OP wants to have the greek language. And I
(seriously) also want to add the brasilian-portugese
language (BR) which does also not exist for PLESK.
Then I think, that there is much more to do but only with
these 5 steps before. Look:
drwxr-xr-x 2 root root 4096 Apr 27 12:45 ca-ES
drwxr-xr-x 2 root root 4096 Apr 27 12:45 de-DE
drwxr-xr-x 2 root root 4096 Apr 27 12:45 en-US
drwxr-xr-x 2 root root 4096 Apr 27 12:45 es-ES
drwxr-xr-x 2 root root 4096 Apr 27 12:45 fi-FI
drwxr-xr-x 2 root root 4096 Apr 27 12:45 fr-FR
drwxr-xr-x 2 root root 4096 Apr 27 12:45 it-IT
drwxr-xr-x 2 root root 4096 Apr 27 12:45 ja-JP
drwxr-xr-x 2 root root 4096 Apr 27 12:45 nl-NL
drwxr-xr-x 2 root root 4096 Apr 27 12:45 pl-PL
drwxr-xr-x 2 root root 4096 Apr 27 12:45 ru-RU
drwxr-xr-x 2 root root 4096 Apr 27 12:45 tr-TR
drwxr-xr-x 2 root root 4096 Apr 27 12:45 zh-CN
As you see, you miss the folder
gr-GR
br-BR
bay-BAY
In such a case, you need to translate all the 4 files of
en-US
-rw-r--r-- 1 root psaadm 111134 Jan 27 22:24 conhelp_en-US.php
-rw-r--r-- 1 root root 4468 Feb 7 03:50 conhelp_pmm_en-US.php
-rw-r--r-- 1 root psaadm 191641 Jan 27 22:24 messages_en-US.php
-rw-r--r-- 1 root root 6293 Feb 7 03:50 messages_pmm_en-US.php
And then? Would it then be enough just only to create a new folder
gr-GR
br-BR
bay-BAY
and to upload these 4 translated and correct renamed files
into this folder? Hmmm... good question, need first to check
it out. Or do you already have any experience with that?
Thank you. E muito obrigado.