If you need to overwrite some translation text you can create your own custom language file.
This is used if you want to change some text in the main translation files which comes with Perfex CRM installation and prevent your changes to be overwrited during update.
This is example for the English language.
Navigate to application/language/english and create custom_lang.php file.
Add the following line at top:
1 2 3 4 5 6 |
<!--?php </pre> <p>Example overwriting the following language translation:</p> <pre>$lang['home_stats_full_report'] = 'Full Report';</pre> <p>This is from the main english_lang.php<br ?--> <strong>Copy the whole part and add it to custom_lang.php </strong> |
1 |
$lang['home_stats_full_report'] = 'Report'; |
You can notice that is changed Report. Now Full Report will be displayed as Report
The full custom_lang.php will look like this:
1 2 |
<?php $lang['home_stats_full_report'] = 'Report'; |