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:
- Open the whmcs_staff_kb/lang/english.php file in a plain text editor, PHP IDE, etc -- except Word or other such programs
- 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
- In your language file, replace each language element with your translation.
- Each element is a PHP array item. Your translated value goes on the RIGHT side of the equals sign.
- For example, for Italian the following $_ADDONLANG['Staffkb']['Search']['Search'] = 'Search'; would be come
$_ADDONLANG['Staffkb']['Search']['Search'] = 'ricerca';
- Once the language file is ready, upload the file to the modules/whmcs_staff_kb/lang directory within the WHMCS directory
- If you want to send the language file in to us, we will add the file to our releases