• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

How to replace English language pack?

B

bluescript

Guest
I've recently bought a 10-domain Plesk license over at 4PSA and having installed it on my server I'm now looking for a way to replace the default English language pack with the German one.

I have already contacted SWsoft's support on this but their position is that one had to stick with English whether now it's needed or utterly superfluous (as is in my case). Paying an additional $99 per language pack may be no great deal for someone with a business but I'm not such a guy - my personal copy of Plesk cost me $99 and the idea of paying another $99 for just a language pack of a few hundred kb in size is something I'm not quite willing to accept. My Plesk license says I can use 1 language pack, it doesn't say anything about not being allowed to replace the default one for another.

So I'd be real happy if someone here could help me getting started on this. Thanx a lot!
 
thanks for your quick reply. However I don't think a link to the language pack install scripts is going to help me.

My license allows for only 1 locale. no problem so far - BUT: Plesk won't allow me to remove the default English locale. As long as the English language pack can't be removed it makes little sense installing the German langpack as Plesk won't allow me to use it - UNLESS there is a way to make it the default one. Is there?

If there's a way to make a German language pack the default locale without having to install the English one, I'd be happy if you could tell me about that!!
 
go to line 408 of plesk_v7.5.3_locale_de-DE_050209.17.sh

BTW:

# ls -l /usr/local/psa/admin/plib/locales/

What can you see 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 you 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 you 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

ya understand what you re missing?

And now go with your phpmyadmin into the "psa"

SELECT *
FROM `clients`
LIMIT 0 , 30

you find there the default-locale en-US which is mapped with

/usr/local/psa/admin/plib/locales/en-US

because the 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

_are_ existing.

The next one thing which you should check out is

# vi -R /etc/psa/psa.key

go to line 15

Additional language pack(s): 0

easy to solve your problem, isn't it? Ya remember? You asked
how to _replace_ the english lang-pack
 
Originally posted by editor
go to line 408 of plesk_v7.5.3_locale_de-DE_050209.17.sh

If you would understand SHELL......

cat "$my_name" | $uudecode | tar -C / -xz -m -f -

The file is uudecoded. So, kill line 1-407 and safe the rest as
"cost3beer.uue" and extract it then later onto your computer
at home. Then you have all the files with the complete structure
in your language. If you want to upload it to your Plesk-server,
don't forget chmod and owner/group. Have a look to en-US.

/usr/local/psa/admin/htdocs/locales/de-DE/help/
/usr/local/psa/admin/htdocs/locales/de-DE/help/cl/
/usr/local/psa/admin/htdocs/locales/de-DE/help/dl_usr/
/usr/local/psa/admin/htdocs/locales/de-DE/help/ml_usr/
/usr/local/psa/admin/plib/locales/de-DE/

Same is also with all the other languages.

/usr/local/psa/admin/htdocs/locales/$yourlanguagecode/help/
/usr/local/psa/admin/htdocs/locales/$yourlanguagecode/help/cl/
/usr/local/psa/admin/htdocs/locales/$yourlanguagecode/help/dl_usr/
/usr/local/psa/admin/htdocs/locales/$yourlanguagecode/help/ml_usr/
/usr/local/psa/admin/plib/locales/$yourlanguagecode/
 
/usr/local/psa/admin/htdocs/locales/de-DE/help/

actionlog.html
additional_keys.html
additional_keys_remove.html
additional_key_info.html
additional_key_properties.html
additional_key_upload.html
admin_ed.html
aliases.html
anonftp.html
apply_globalchanges.html
autoinstaller_components.html
autoinstaller_configure.html
autoinstaller_install.html
autoinstaller_releases.html
backup_dialog.html
cats.html
cat_edit.html
cat_remove.html
cert.html
cert_add.html
cert_add_dom.html
cert_dom.html
cert_edit.html
ch_pass.html
clients.html
client_globalchanges.html
client_report.html
cl_del.html
cl_ed.html
cl_home.html
cl_limits.html
cl_logo.html
cl_new.html
cl_perm.html
cl_pool.html
cl_pool_add.html
cl_pool_ctrl.html
cl_pool_first_time.html
cl_pref.html
cl_rpt_edit.html
cl_rpt_list.html
cl_skeleton.html
cl_templates.html
cl_traffic.html
cl_traffic_history.html
coldfusion.html
common_acl.html
common_acl_add.html
comp_info.html
configure.html
cp_access.html
cp_access_add_edit.html
cp_access_remove.html
create_domain.html
create_domain_client_select.html
cronbackup_add_edit.html
crontab_unix.html
crontab_unix_add_edit.html
crontab_unix_remove.html
custom_buttons_admin.html
custom_buttons_client.html
custom_buttons_domain.html
custom_buttons_remove.html
custom_button_admin_edit.html
custom_button_client_edit.html
custom_button_domain_edit.html
databases.html
db.html
db_add.html
db_edit.html
db_usr_edit.html
dl_usr_ed.html
dns.html
dns_add.html
dns_check.html
dns_template.html
dns_template_add.html
domains.html
domain_globalchanges.html
domain_report.html
dom_ctrl.html
dom_lim.html
dom_pref.html
dom_reporter.html
dom_rpt_edit.html
dom_rpt_list.html
dom_sum_report.html
dom_templates.html
dom_traffic.html
dom_traffic_history.html
dom_vault_app_install.html
download_dialog.html
dumps_list.html
edit_cl_tmpl.html
edit_dom_tmpl.html
event_handlers.html
event_handlers_remove.html
event_handler_edit.html
extras.html
filemanager.html
filemanager_chmod.html
filemanager_copy_move.html
filemanager_create_file.html
filemanager_edit.html
filemanager_new_dir.html
filemanager_new_file.html
filemanager_remove.html
filemanager_rename_dir.html
filemanager_rename_file.html
filemanager_show.html
forwarding_setup.html
frm_fwd.html
ftp_account.html
ftp_dumps_list.html
ftp_sessions_list.html
gl_list.html
hst_type_sel.html
ip_add.html
ip_aliasing.html
ip_clients.html
ip_clients_add.html
ip_ctrl.html
ip_domains.html
key_info.html
key_revert.html
key_update.html
key_upload.html
license.html
locales.html
locales_remove.html
locale_upload.html
logo.html
log_files.html
log_rotation.html
mail.html
maillists.html
maillists_conf.html
maillist_del.html
maillist_members.html
maillist_members_remove.html
maillist_member_edit.html
maillist_new.html
mailname_globalchanges.html
mail_blocked_domains.html
mail_blocked_domains_remove.html
mail_blocked_domain_edit.html
mail_names.html
mail_name_alias_edit.html
mail_name_drweb.html
mail_name_edit.html
mail_name_files.html
mail_name_files_remove.html
mail_name_groups.html
mail_name_mailbox.html
mail_name_mail_group.html
mail_name_preferences.html
mail_name_redirects.html
mail_name_redirects_add.html
mail_name_redirects_remove.html
mail_name_responders.html
mail_name_resp_attach_add.html
mail_name_resp_edit.html
mail_name_resp_remove.html
mail_preferences.html
mail_white_list.html
mail_white_list_edit.html
mail_white_list_remove.html
migration_account_select.html
migration_content_download.html
migration_host_info.html
migration_ip_mapping.html
migration_objects_select.html
migration_pre_deploy.html
migration_progress.html
migration_result.html
migration_stop.html
migration_upload.html
modules.html
modules_management.html
notifications.html
notification_text.html
odbc_connection_config.html
odbc_dsn_configuration.html
odbc_removing.html
phosting_setup.html
preferences.html
prs.html
prtdir_edit.html
prtdir_preferences.html
prtdir_usr_edit.html
prtd_dirs.html
pr_edit.html
pr_remove.html
qus.html
qu_edit.html
qu_remove.html
removeCerts.html
removeClients.html
removeClientsIP.html
removeClientsSiteApp.html
removeDataBases.html
removeDataBaseUsers.html
removeDNS.html
removeDNSTemplate.html
removeDomains.html
removeDumps.html
removeIPAddress.html
removeLogFiles.html
removeMailAliases.html
removeMailNames.html
removeProtectedDirs.html
removeProtectedDirUsers.html
removeReports.html
removeServers.html
removeSessions.html
removeSiteAppPackages.html
removeTemplates.html
removeWebApps.html
removeWebUsers.html
remove_modules.html
report_auto.html
report_auto_edit.html
report_auto_remove.html
restart_services.html
sapp_clients.html
sapp_clients_add.html
sapp_pool.html
sapp_pool_add.html
sapp_pool_remove.html
server.html
servers_list.html
server_traffic.html
sessions.html
sessions_list.html
siteapppackage_info.html
siteapppackage_info_domain.html
siteapppackage_info_server.html
siteapp_install.html
siteapp_reconfigure.html
site_apps_list.html
site_app_pkgs_add.html
site_app_pkgs_admin_list.html
site_app_pkgs_list.html
skeleton.html
skins.html
skins_remove.html
skin_download.html
skin_info.html
skin_upload.html
slave_cert.html
slave_info.html
spamassassin.html
spamassassin_train.html
spamassassin_user_conf.html
spaw.html
sshterm.html
statistics.html
std_fwd.html
subdomains.html
subdom_create.html
subdom_edit.html
subdom_remove.html
sys_time.html
tmpl_warn.html
tts_conf_edit.html
tts_mail_gate.html
tts_ticket_post.html
tts__admin.html
tts__tickets_list1.html
tts__tickets_list1000.html
tts__tickets_list1001.html
tts__tickets_list2.html
tts__tickets_list3.html
upload_module.html
view_info.html
web_apps.html
web_app_add.html
web_users.html
web_users_preferences.html
wu_edit.html
 
/usr/local/psa/admin/htdocs/locales/de-DE/help/cl/

aliases.html
anonftp.html
apply_globalchanges.html
backup_dialog.html
cert_add_dom.html
cert_dom.html
cert_edit.html
client_report.html
cl_ed.html
cl_home.html
cl_limits.html
cl_logo.html
cl_perm.html
cl_pool.html
cl_pool_ctrl.html
cl_pref.html
cl_rpt_edit.html
cl_rpt_list.html
cl_skeleton.html
cl_traffic.html
cl_traffic_history.html
create_domain.html
cronbackup_add_edit.html
crontab_unix.html
crontab_unix_add_edit.html
crontab_unix_remove.html
custom_buttons_client.html
custom_buttons_domain.html
custom_buttons_remove.html
custom_button_client_edit.html
custom_button_domain_edit.html
db.html
db_add.html
db_edit.html
db_usr_edit.html
dl_usr_ed.html
dns.html
dns_add.html
dns_check.html
domain_globalchanges.html
domain_report.html
dom_ctrl.html
dom_lim.html
dom_pref.html
dom_reporter.html
dom_rpt_edit.html
dom_rpt_list.html
dom_sum_report.html
dom_templates.html
dom_traffic.html
dom_traffic_history.html
download_dialog.html
dumps_list.html
edit_dom_tmpl.html
filemanager.html
filemanager_chmod.html
filemanager_copy_move.html
filemanager_create_file.html
filemanager_edit.html
filemanager_new_dir.html
filemanager_new_file.html
filemanager_remove.html
filemanager_rename_dir.html
filemanager_rename_file.html
filemanager_show.html
forwarding_setup.html
frm_fwd.html
ftp_account.html
ftp_dumps_list.html
ftp_sessions_list.html
hst_type_sel.html
ip_domains.html
log_files.html
log_rotation.html
maillists.html
maillist_del.html
maillist_members.html
maillist_members_remove.html
maillist_member_edit.html
maillist_new.html
mailname_globalchanges.html
mail_names.html
mail_name_alias_edit.html
mail_name_drweb.html
mail_name_edit.html
mail_name_files.html
mail_name_files_remove.html
mail_name_groups.html
mail_name_mailbox.html
mail_name_mail_group.html
mail_name_preferences.html
mail_name_redirects.html
mail_name_redirects_add.html
mail_name_redirects_remove.html
mail_name_responders.html
mail_name_resp_attach_add.html
mail_name_resp_edit.html
mail_name_resp_remove.html
mail_preferences.html
phosting_setup.html
prtdir_edit.html
prtdir_preferences.html
prtdir_usr_edit.html
prtd_dirs.html
removeCerts.html
removeDataBases.html
removeDataBaseUsers.html
removeDNS.html
removeDomains.html
removeDumps.html
removeIPAddress.html
removeLogFiles.html
removeMailAliases.html
removeMailNames.html
removeProtectedDirs.html
removeProtectedDirUsers.html
removeReports.html
removeSessions.html
removeTemplates.html
removeWebApps.html
removeWebUsers.html
report_auto.html
report_auto_edit.html
report_auto_remove.html
sessions_list.html
siteapppackage_info.html
siteapppackage_info_domain.html
siteapp_install.html
siteapp_reconfigure.html
site_apps_list.html
site_app_pkgs_list.html
spamassassin_train.html
spamassassin_user_conf.html
spaw.html
sshterm.html
std_fwd.html
subdomains.html
subdom_create.html
subdom_edit.html
subdom_remove.html
tmpl_warn.html
tts_ticket_post.html
tts__tickets_list1000.html
view_info.html
web_apps.html
web_app_add.html
web_users.html
web_users_preferences.html
wu_edit.html
 
/usr/local/psa/admin/htdocs/locales/de-DE/help/dl_usr/

aliases.html
anonftp.html
backup_dialog.html
cert_add_dom.html
cert_dom.html
cert_edit.html
cronbackup_add_edit.html
crontab_unix.html
crontab_unix_add_edit.html
crontab_unix_remove.html
custom_buttons_domain.html
custom_buttons_remove.html
custom_button_domain_edit.html
db.html
db_add.html
db_edit.html
db_usr_edit.html
dl_usr_ed.html
dns.html
dns_add.html
dns_check.html
domain_report.html
dom_ctrl.html
dom_lim.html
dom_pref.html
dom_reporter.html
dom_rpt_edit.html
dom_rpt_list.html
dom_traffic.html
dom_traffic_history.html
download_dialog.html
dumps_list.html
filemanager.html
filemanager_chmod.html
filemanager_copy_move.html
filemanager_create_file.html
filemanager_edit.html
filemanager_new_dir.html
filemanager_new_file.html
filemanager_remove.html
filemanager_rename_dir.html
filemanager_rename_file.html
filemanager_show.html
forwarding_setup.html
ftp_account.html
ftp_dumps_list.html
ftp_sessions_list.html
hst_type_sel.html
log_files.html
log_rotation.html
maillists.html
maillist_del.html
maillist_members.html
maillist_members_remove.html
maillist_member_edit.html
maillist_new.html
mailname_globalchanges.html
mail_names.html
mail_name_alias_edit.html
mail_name_drweb.html
mail_name_edit.html
mail_name_files.html
mail_name_files_remove.html
mail_name_groups.html
mail_name_mailbox.html
mail_name_mail_group.html
mail_name_preferences.html
mail_name_redirects.html
mail_name_redirects_add.html
mail_name_redirects_remove.html
mail_name_responders.html
mail_name_resp_attach_add.html
mail_name_resp_edit.html
mail_name_resp_remove.html
mail_preferences.html
phosting_setup.html
prtdir_edit.html
prtdir_preferences.html
prtdir_usr_edit.html
prtd_dirs.html
removeCerts.html
removeDataBases.html
removeDataBaseUsers.html
removeDNS.html
removeDomains.html
removeDumps.html
removeLogFiles.html
removeMailAliases.html
removeMailNames.html
removeProtectedDirs.html
removeProtectedDirUsers.html
removeReports.html
removeSessions.html
removeTemplates.html
removeWebApps.html
removeWebUsers.html
report_auto.html
report_auto_edit.html
report_auto_remove.html
sessions_list.html
siteapppackage_info_domain.html
siteapp_install.html
siteapp_reconfigure.html
site_apps_list.html
site_app_pkgs_list.html
spamassassin_train.html
spamassassin_user_conf.html
spaw.html
sshterm.html
subdomains.html
subdom_create.html
subdom_edit.html
subdom_remove.html
tts_ticket_post.html
tts__tickets_list1000.html
view_info.html
web_apps.html
web_app_add.html
web_users.html
web_users_preferences.html
wu_edit.html
 
/usr/local/psa/admin/htdocs/locales/de-DE/help/ml_usr/

mail_name_alias_edit.html
mail_name_drweb.html
mail_name_edit.html
mail_name_files.html
mail_name_files_remove.html
mail_name_groups.html
mail_name_mailbox.html
mail_name_mail_group.html
mail_name_preferences.html
mail_name_redirects.html
mail_name_redirects_add.html
mail_name_redirects_remove.html
mail_name_responders.html
mail_name_resp_attach_add.html
mail_name_resp_edit.html
mail_name_resp_remove.html
mail_preferences.html
sessions_list.html
spamassassin_train.html
spamassassin_user_conf.html
tts_ticket_post.html
tts__tickets_list1000.html
 
/usr/local/psa/admin/plib/locales/de-DE/

conhelp_de-DE.php
messages_de-DE.php
 
hmm, ok... simply overwriting the English language files with the German ones rendered Plesk unusable - no login page, said it couldn't find the default locale... strange. well, good idea I backed it up before. so after restoring I tried again, installing the German language-pack in addition to the English one - and simply renaming the folders: en-US to de-DE and vice versa.

what's interesting is that the German langpack is obviously incomplete - dates back to February. some elements are not translated, like "Server Preferences" or "Interface Management" plus several other minor things like some of the help texts. So I edited /usr/local/psa/admin/htdocs/locales/default and pointed it to de-DE (the former en-US). This way the missing items are at least displayed in English...

one thing I'd like to know: where in the database are the langpack descriptions stored (like "English (United States)")? this is no doubt just a cosmetic detail but if this could be modified as well, that'd be real perfect.

on a sidenote: who exactly is it that maintains the language packs? I mean the German langpack is clearly outdated but is still labelled as being designed for Plesk 7.5.3. charging $99 for an incomplete language pack seems a bit questionable to me?

PS: thanks for the help!!
 
Originally posted by bluescript
hmm, ok... simply overwriting the English language files with the German ones rendered Plesk unusable - no login page, said it couldn't find the default locale... strange. well, good idea I backed it up before. so after restoring I tried again, installing the German language-pack in addition to the English one - and simply renaming the folders: en-US to de-DE and vice versa.

go with your phpmyadmin into the "psa"

SELECT *
FROM `clients`
LIMIT 0 , 30

you find there the default-locale en-US. It is possible to edit
it there to de-DE.

Originally posted by bluescript
what's interesting is that the German langpack is obviously incomplete - dates back to February. some elements are not translated, like "Server Preferences" or "Interface Management"

Search complete, found 'Server Preferences' 0 time(s).
Search complete, found 'Interface Management' 0 time(s).

Hmm? Which version do you use?

Originally posted by bluescript
So I edited /usr/local/psa/admin/htdocs/locales/default and pointed it to de-DE (the former en-US). This way the missing items are at least displayed in English...

no,

vi -R /usr/local/psa/admin/htdocs/locales/default

en-US:ENGLISH:GERMANIC:UNITED STATES;
-->
de-DE:GERMAN:GERMANIC:GERMANY;

Originally posted by bluescript
one thing I'd like to know: where in the database are the langpack descriptions stored (like "English (United States)")? this is no doubt just a cosmetic detail but if this could be modified as well, that'd be real perfect.

fid-locale

-----
<select name="locale" id="fid-locale" onChange="locale_oC(document.forms[0], document.forms[1])"><option value="default">User default</option>
<option value="en-US" SELECTED>ENGLISH (United States)</option>
</select>
------

SHELL thinks:

---------
product_log="/tmp/${my_name_1}.log"
config="/etc/$product/$product.conf"
test_for_root
get_etc_conf

dist_dir="$product_root"
admin_user="${product}adm"
admin_group="${product}adm"
admin_passwd="`cat /etc/$product/.psa.shadow`"
mysql="$mysql_bin_dir/mysql -N -uadmin -p$admin_passwd ${product}"

locale="de-DE"
locale_full="de-DE:GERMAN:GERMANIC:GERMANY;"

echo >> $product_log #initializing log
echo "START LOGGING: `date`" >> $product_log
------

So, have a look into your

vi -R /usr/local/psa/admin/htdocs/locales/default

:)))

I think, you need not to rename the folder. Remember, the
"en-US" is only a folder which is at the same time also the
default-folder. And the content itself can be in another
language, of course.

But in the other side, if you upgrade to 7.6 or whatever, then
it might happen, that the content will be overwritten. So, for a
long-timeable solution, you should also exchange the en-US
within the SQL. And there are 57 entries.

I personally would let the en-US be as it is with all the english
content. And you add the 2nd language which is also the
default-language. It is only _new_ that you have another
_default_ language. The licence is only if you want to use
_two_ languages, but this is not the case.

vi -R /usr/local/psa/admin/htdocs/locales/default

en-US:ENGLISH:GERMANIC:UNITED STATES;
-->
de-DE:GERMAN:GERMANIC:GERMANY;

So, I think, Plesk only picks up the content from the default-folder
which is here the "de-DE"-folder. But it is a _must_ that the
content really exist.

Keep me informed about this and what you could find out, tx.


Originally posted by bluescript
on a sidenote: who exactly is it that maintains the language packs? I mean the German langpack is clearly outdated but is still labelled as being designed for Plesk 7.5.3. charging $99 for an incomplete language pack seems a bit questionable to me?

Oh, they also want USD 199 for out-to-date Appl.Vaults, see
http://forum.plesk.com/showthread.php?s=&threadid=23626
 
When i doing what i have readed here i have then plesk compleet in a other langaugue ?
 
Back
Top