Skip to main content

Language

Cpnginx supports any language since it is fully integrated with WHM and cPanel. We provide English language as the default. To add your local language, you may read the procedures below,

WHM Languages

The language file location of the CPnginx WHM panel is /usr/local/cpanel/whostmgr/cgi/cpnginx/languages/ . You can see the English language file language_en.php. To create a language file, please copy it as follows,

cd /usr/local/cpanel/whostmgr/cgi/cpnginx/languages/ 
cp language_en.php  language_CODE.php    #  where CODE is the universal language code

 After that, edit the file language_CODE.php and change the languages to your language.

Please consider contributing your language files to cpnginx so that we can add them to our central repository.

Cpanel Languages

The language file location of the CPnginx cPanel plugin interface is /usr/local/cpanel/base/frontend/paper_lantern/cpnginx/languages/

You can see the English language file en.php. If you need to create a new language, do it as follows,

cd /usr/local/cpanel/base/frontend/paper_lantern/cpnginx/languages/ 
cp en.php  CODE.php  #, where  CODE is the universal language code.

Now edit the file COE.php and add your languages. Please consider contributing your local language file to cpnginx so that we can add it to our central repository.