Symptoms
Locale translations are missing after an update.
Cause
Translations uploaded in WHM with the Locale XML Upload are replaced during updates. Even excluding the fr.yaml file from cPanel updates doesn't prevent the translations from being replaced.
Note: Each locale is stored by a two-letter code .yaml. The fr.yaml is used to represent the YAML file where translations were lost.
We've opened an internal case for our development team to investigate this further. For reference, the case number is CPANEL-43554. Follow this article to receive an email notification when a solution is published in the product.
Resolution
Upload the locale via the "WHM / Locales / Locale XML Upload" interface. Alternatively, if you require manual edits, the changes can be appended to the files stored at the path
/var/cpanel/locale.local/.Note: Each locale is stored by the two-letter code
.yaml, for example,en.yaml. The formatting in this file is "keyname" : 'translation'. Other translations may be added here automatically by CloudLinux. Be sure not to remove the CloudLinux translations. After applying changes to these files, you must rebuild the databases.**To rebuild the databases, run the following command.
CONFIG_TEXT: /usr/local/cpanel/bin/build_locale_databases
Comments
0 comments
Article is closed for comments.