๐Translation
Our module is fully translation-ready, allowing you to easily adapt its interface and labels into your preferred language.
Whether you're translating for a multilingual team or just personal convenience, follow the steps below to apply your own translations.
๐ Location of Language Files
All language strings used by the module are stored in the following path:
modules/your_module_name/language/english/
Inside this folder, you'll find one or more .php files (usually mailbox_lang.php) that contain all the text labels used in the module.
๐ฏ๏ธ Option 1: Create a New Language Folder
To add a new translation:
Navigate to the module's
languagedirectory.Create a new folder using the ISO language code of your preferred language (e.g.,
french,german,greek, etc.).Copy the existing
englishfile(s) into your new folder.Open the copied file and translate the right-hand side of each string:
$lang['mailbox_inbox'] = 'Boรฎte de rรฉception'; // French exampleSave your file and make sure your language is set in Perfex CRM > Setup > Settings > Localization.
Perfex will automatically load the matching language file if it exists.
๐ฏ๏ธ Option 2: Override from Perfex's Global Language File
Alternatively, if you prefer not to touch the module files, you can override specific strings globally from:
This approach is useful for central management or minor edits.
Just define any language keys used in the module with your own custom text. For example:
๐ก This method ensures your custom changes are preserved during module updates.
๐ Tips & Best Practices
Always backup your language files before making edits.
Use a UTF-8 compatible editor (such as VSCode, Sublime Text, or Notepad++) to prevent encoding issues.
Avoid editing the
englishfile directly if you plan to support multiple languages.
๐งฉ Need Help?
If you're unsure about a translation key or your language isn't showing up, feel free to contact our support team. We're happy to help you localize the module properly!
Last updated