cPanel Default Language
Hi guys!
Is there any way to change the default language from cPanel in the provision time (for a new customer for example)?
Would it be in a specific file maybe?
-
Hey there! I'm not finding an option in the installer to set the language at the time the server is created. This would make an excellent feature request if you'd like to submit one at https://features.cpanel.net!
0 -
Ok!
In this case, is there any file that holds this config so I could updated it programmatically?
0 -
You can update the /var/cpanel/cpanel.config file with the "server_locale" option. For Spanish, this would look like this:
server_locale=es
This is equivalent to using the dropdown in WHM >> Tweak Settings as outlined here:
https://support.cpanel.net/hc/en-us/articles/360057443173-How-to-change-the-language-in-your-WHM
0 -
Ok, thanks!
0 -
You're welcome!
0
Please sign in to leave a comment.
Comments
5 comments