Lagom WHMCS Client Theme uses its own translation strings. However, you can enhance the user experience in the WHMCS client area and during the ordering process. Where possible, we have applied strings provided by default by WHMCS (opens new window) but there are places where we had to create custom strings.
“Overrides” have been implemented to let you override the existing Lagom WHMCS Client Theme translations or to create new translation strings that then can be used in the Lagom WHMCS Client Theme files.
/templates/lagom2/core/lang
and create the overrides
folder. All files created in the overrides
folder will not be overwritten by future Lagom updates.<?php
indicating that the PHP code will be used./templates/lagom2/core/lang/english.php
file:Then place it in the overrides
English file along with your preferred change:
Your new translation can work in the Lagom WHMCS Client Theme files using the {$rslang->trans(key_1.key_2')}
variable.
The language system in the Lagom WHMCS Client Theme allows you to add your own additional language translations. We recommend starting by duplicating one of the existing language files.
/templates/lagom2/core/lang
and duplicate the english.php
file..php
.