• 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

Translation problem - Error: Can not find pt_BR locale.

AlexandreS

New Pleskian
Hello,

I'm translating Plesk 10 to pt_BR.

Everything is OK in Plesk, but I'm getting this error while trying to open SiteBuilder for one site:

Error: Can not find pt_BR locale.

I have triple checked everything, all locale directories, etc.

It looks like that the translation procedure, described in the localization guide, doesn't add the language to SiteBuilder (I can't see this language in SiteBuilder's interface if I try to use it in english - there are several default installed languages, but not the one I'm trying to add to Plesk/Sb).

The "locale" table in the "sitebuilder5" database doesn't have the pt_BR locale, and I think that's the problem.

What should be the "proper" way to add this language support to SiteBuilder's tables, other by inserting the record by hand into that table?

Thank you.
Alexandre
 
Yes, seems problem in missing record in locale table:

mysql> select code, english_name from sitebuilder5.locale;
+-------+-----------------------------+
| code | english_name |
+-------+-----------------------------+
| en_US | English, United States |
| de_DE | German, Germany |
| en_GB | English, Great Britain |
| es_ES | Spanish, Spain |
| fr_FR | French, France |
| it_IT | Italian, Italy |
| ja_JP | Japanese, Japan |
| nl_NL | Dutch, Netherlands |
| ru_RU | Russian, Russia |
| zh_CN | Simplified Chinese, China |
| zh_TW | Traditional Chinese, Taiwan |
| tr_TR | Turkish, Turkey |
+-------+-----------------------------+
12 rows in set (0.00 sec)

I can suggest you try to add this record manually.
 
Back
Top