How can I get language file?
Please check the "lang" folder inside vcPanel distribution file and use the English language template , en.inc.php
The vcPanel language folder will be /path-to-vcpanel-installation/lang/
Steps to create a language file ?
It is easy to create a language file . Let us say you need to create language for Arabic , copy the file en.inc.php to ar.inc.php , where 'ar' is the language code. Now edit ar.inc.php and replace all English terms with Arabic. After that go to vcPanel admin -> vcPanel -> Languages and upload ar.inc.php.
How to create a plugin language?
Go to plugin folder , there will be folder named "lang" with a default English language file ( en.inc.php ). copy that file to your required name let us say for arabic ar.inc.php. Now edit ar.inc.php upload to the same plugin language folder.
The admin plugin language folder path will be /path-to-vcpanel-installation/vadmin/plugin/YOURPLUGINFOLDER/lang and ,
User plugin language folder will be /path-to-vcpanel-installation/vclient/plugin/YOURPLUGINFOLDER/lang
I have still some doubts , what I do?
Go to our forum and post our questions.
Copyright © 2009 doc.vcpanel.net. All Rights Reserved.