General
(→How To Change WHMCS Module Language) |
(→How To Change WHMCS Module Language) |
||
| Line 63: | Line 63: | ||
|} | |} | ||
{| | {| | ||
| − | |style="padding: 0px 0px | + | |style="padding: 0px 0px 20px 25px;"|[[File:TR_1.png]] |
|} | |} | ||
{| | {| | ||
| Line 89: | Line 89: | ||
{| | {| | ||
| − | |style="padding: 0px 0px | + | |style="padding: 0px 0px 15px 15px;"| |
'''5. Verify the results.''' | '''5. Verify the results.''' | ||
Revision as of 11:06, 11 June 2026
Contents |
How To Change WHMCS Module Language
|
1. Locate the language files used by the module. All modules store language strings in one or more langs directories. Depending on the module architecture, translations may be split across several locations, such as:
Modules with inbuilt packages, like App Templates in Proxmox VE VPS & Cloud module, may contain multiple language files instead of a single english.php file. Examples of common language file locations:
Depending on the feature you wish to translate, the required language string may be located in any of the above locations. |
|
2. Edit the language strings. Open the newly created language file and replace the desired phrases with your translations. After making your changes, save the file. Please remember that different features may use language strings from different files, depending on where the functionality is implemented. |
|
|
|
3. Use the built-in Translations Tool (recommended). For modules that support the Translations Tool, we strongly recommend using it instead of editing language files manually. The tool automatically collects language strings from all supported locations. To create a translation:
This approach significantly simplifies translation management, especially in modules that use multiple language sources. For detailed instructions, please refer to the dedicated documentation page: Translations Tool |
|
|
4. Select the language in WHMCS. There are two ways to display your translation:
|
|
|
|
|
5. Verify the results. After switching the language, refresh the page and verify that the translated phrases are displayed correctly. |
|
|
If you encounter any difficulties locating a particular phrase, keep in mind that newer ModulesGarden modules may load language strings from multiple locations, including packages and framework components. Please note that not all ModulesGarden products support multilingual translations. If you need any assistance, please contact our support team. |
How To Debug Module
If the procedure described below doesn't work for you, please report it to our Support Team.
| When you are experiencing white page or the module is not working as it should, you can enable debug mode that prints all the PHP errors on the screen. |
| To do so, enter the URL you are experiencing the issue with and add an additional parameter '_debug=turnon'. For example: yourdomain.com/clientarea.php?action=productdetails&id=81&_debug=turnon |
| To disable debug mode, simply call the same parameter but with value turnoff. For example: yourdomain.com/clientarea.php?_debug=turnoff |
| If you get the error as shown on the screen below, please make sure that you are using the correct parameter and you have sufficient privileges. |
|
How To Solve Problems With Module License
| In case you encounter any problems with the license, please read through the below points to find a solution. |
1. Make sure your license key applies to the used license. For example:
If you want to learn more about upgrades, please follow here. |
| 2. Check if License_RENAME.php file has been removed (or renamed). |
| 3. Make sure your license file content format is correct. Former license format (no longer supported): <?php /* * LICENSE: * Please provide your DNS Manager Module For WHMCS license below */ $dns_manager_licensekey="ModulesGarden_DNSManager_xxxxxxxxxxxx"; ?> Current and correct license file format: <?php /* * LICENSE: * Please provide your DNS Manager Module For WHMCS license below */ $dns_manager_licensekey="ModulesGarden_DNSManager_xxxxxxxxxxxx";Please note that the below symbol is no longer used: ?> |
| 4. Check if your firewall does not block our domain: modulesgarden.com. |
| 5. If you notice the following error message in your client area: "A problem with module occurred. Please contact the administration." Then we recommend reissuing your license in the ModulesGarden client area. |
| 6. In case you see an error: Order Accept Encountered Problems Make sure all module files are correctly downloaded and installed. |
| 7. If, despite following all of the above pieces of advice, problems with you license persist, try to reissue your license. To to so, log in to our client area, choose a product, and click the 'Reissue License' button located next to your license key. |
|
| In case of further issues, please contact our Support Team. |
How To Use Configurable Options
| Configurable options on products allow you to give your clients variables which alter the resource available at that product as well as its price.
In this tutorial we will show you how to manage configurable options generated by our modules. |
Editing Configurable Options
| When you successfully set up a product, your client can order it by choosing its resource and settings from default configurable options. |
|
| In case those options do not suit your needs, you can edit them. To do so, go to 'Setup' → 'Products/Services' → 'Configurable Options' and press edit button next to configurable option used by your product. |
|
| Here you can view all products this configurable option group is assigned to. Now we will show you how to edit options. Let's say you want to add an option to order a product with up to 5 snapshots. |
|
| You will see a popup window, so make sure your browser will not block it. Enter the maximum allowed number of options and save the changes. |
|
Hiding Configurable Options
| If you decide to hide configurable options from a client order form and manage them only from the admin area, follow the steps below. Firstly, go to 'Setup' → 'Products/Services' → 'Configurable Options'. |
|
| Afterwards, tick 'Hidden' checkboxes next to configurable options you want to hide and confirm the action through pressing 'Save Changes'. |
|
Setting Up Pricing For Configurable Options
| If you decide to set up pricing for configurable options, follow the steps described below. |
|
| Press the edit icon next to configurable options you want to set the pricing for. |
|
| Afterwards, you will see a popup window, so make sure your browser does not block it. Now, price you entered for resource should be in a column responsible for the same type of payment as your product uses. |
| Depending on 'Option Type' , pricing you entered may be counted in various ways. 'Dropdown' - You have to set price for each option. |
|
| On the screen below you can see all configurable options types available on the order form. |
|
| Now you should have no problems with understanding and using the configurable options in your WHMCS. |

















