Language Support - add your own translations

As of version 0.3, this module uses language files for end user text.  The module currently only has English language files built-in. 

To make your own language file, please do the following:

  1. Open the whmcs_staff_kb/lang/english.php file in a plain text editor, PHP IDE, etc -- except Word or other such programs
  2. Save this file as a new file labeled after your language.  For example, if you are translating to italian, you would use "italian.php" for the file name
  3. In your language file, replace each language element with your translation.
    1. Each element is a PHP array item.  Your translated value goes on the RIGHT side of the equals sign. 
    2. For example, for Italian the following $_ADDONLANG['Staffkb']['Search']['Search'] = 'Search'; would be come
      $_ADDONLANG['Staffkb']['Search']['Search'] = 'ricerca';
  4. Once the language file is ready, upload the file to the modules/whmcs_staff_kb/lang directory within the WHMCS directory
  5. If you want to send the language file in to us, we will add the file to our releases
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Install and Upgrading Module

To install a WHMCS addon module, please do the following: Download the latest release of the...

Roadmap

0.4 - 2020 Roles based permissions -- using WHMCS roles id as method for roles permissions....