Create New Language
In Checkers Inc. CRM you can easily change the language. You only need to translate all the strings based on your needs.
- Navigate to application/language and copy the default english folder.
- Rename the folder in the language you want to translate. eq. arabic
You must rename the files inside the folder you copied based on the main folder name eq. we renamed our new folder to arabic and in this folder, there are 2 files, english_lang.php, and english_num_words_lang.php that should be renamed like this: arabic_lang.php and arabic_num_words_lang.php
Translate all the strings via your favorite code editor and navigate to Setup -> Settings -> Localization you will see that your language is available in the dropdown to select it and save changes.
If the language you are trying to translate already exists in Checkers Inc. CRM files that come with the package it’s recommended to rename the folder/files eq. my_arabic and my_arabic_lang.php
Overwriting translation texts
Read more here to see how to overwrite translation texts to make Perfex CRM fit your needs.
Encoding
Language files in Checkers Inc. CRM use the UTF-8 encoding without a Byte Order Marker, when creating language override files it is important to maintain the same encoding.
Special Charachters
Example:
$lang['language_text_key'] = 'Text with \'quotes';