Client and Admin area language for Provisioning Modules

Default Languages

All Modules includes by default English and Spanish Language files. Language files are centralized in the Resellerclub Mods Console Addon and located in /modules/addons/rcmcoreconsole/modlang/ folder

All Modules comes with a fallback mecanism to load the default English translation if your customers use your client area in a language for which our modules does not offer a language specific file

 

Adding a New Language

If a WHMCS language you operate is not available for our modules, then you can create your own translation. Here's how:

 

  1. Begin by opening the default language file for the module. For example, if you plan to add the new language file for the Titan Email Module, then open the corresponding English language file, for example the English_client_rcmrtepm.php for the Titan Email Provisioning Module (RCMRTEPM).
  2. Save this file with the new language name. The language name must be exactly the same as the WHMCS language name. For example, if WHMCS has the language file french.php, then name the new file as French_client_rcmrtepm.php. The first character must be a capital letter.
  3. Once the file has been created, start translating and save the file as explained below in section "Overriding Language Strings"
  4. An example line is as follows - you should only change the part between the double quotes:

    $_LANG['rcmrtepm_managementtitle'] = "Hosting Management Dashboard";
    

    Be careful not to delete any of the quotation marks (") around the text strings or the semi-colons on the ends of each line (;). Also should you want to use a quote character (") within your translated text, you must escape it - for example: \" The language files are written in PHP syntax so valid PHP code must be maintained.

 

Overriding Language Strings

We are now introducing the new override system in all our products and we do not recommend editing the original files located in /modules/addons/rcmcoreconsole/modlang/ directly. They are often overwritten during software upgrades to introduce new and updated text and you will lose your custom translations

Instead we recommend that you use overrides which allow you to customise the default variables with your own in a way which can be safely preserved through the upgrade process.

 

  1. Create the folder 'override' within the 'modlang' folder
  2. Create the language file you want to add or override. For example, to create an override for the English_client_rcmrtepm.php language you create /modlang/override/English_client_rcmrtepm.php
  3. Enter the variable(s) you wish to override. For example, if you wanted to change "You may be interested in these suggested domain names" you would locate the proper variable within ./modlang/English_client_rcmrtepm.php and place it into the overrides english file with your preferred change:

    ./modlang/English_client_rcmrtepm.php

    $_LANG['rcmrtepm_managementtitle'] = "Hosting Management Dashboard";

    ./modlang/override/English_client_rcmrtepm.php

    $_LANG['rcmrtepm_managementtitle'] = "Titan Management Dashboard";

 

Language file Naming Convention

All language files are named as follow and case sensitive. First char always starts with capital letter: Languagename_type_name.php


Titan Email Module

  • Client Area: English_client_rcmrtepm.php
  • Admin Area: English_admin_rcmrtepm.php, English_admin_default.php

Business/Enterprise Email Module

  • Client Area: English_client_rcmreehm.php
  • Admin Area: English_admin_rcmreehm.php, English_admin_default.php

Cloud Hosting Module

  • Client Area: English_client_rcmrchpm.php
  • Admin Area: English_admin_rcmrchpm.php, English_admin_default.php

CodeGuard Module

  • Client Area: English_client_rcmrcgpm.php
  • Admin Area: English_admin_rcmrcgpm.php, English_admin_default.php

Combo Plan Module

  • Client Area: English_client_rcmrcppm.php
  • Admin Area: English_admin_rcmrcppm.php, English_admin_default.php

Comodo Certificate Module

  • Client Area: English_client_rcmrccpm.php
  • Admin Area: English_admin_rcmrccpm.php, English_admin_default.php

Dedicated Server Module

  • Client Area: English_client_rcmrdhsm.php
  • Admin Area: English_admin_rcmrdhsm.php, English_admin_default.php

Gsuite (Google Workspace) Module

  • Client Area: English_client_rcmrgspm.php
  • Admin Area: English_admin_rcmrgspm.php, English_admin_default.php

Multi Domain Hosting Module

  • Client Area: English_client_rcmrmdhm.php
  • Admin Area: English_admin_rcmrmdhm.php, English_admin_default.php

Reseller Bulk Hosting Module

  • Client Area: English_client_rcmrrdhm.php
  • Admin Area: English_admin_rcmrrdhm.php, English_admin_default.php

Single Domain Hosting Module

  • Client Area: English_client_rcmrsdhm.php
  • Admin Area: English_admin_rcmrsdhm.php, English_admin_default.php

SiteLock Module

  • Client Area: English_client_rcmrslp.php
  • Admin Area: English_admin_rcmrslpm.php, English_admin_default.php

Virtual Private Server Module

  • Client Area: English_client_rcmrvpsm.php
  • Admin Area: English_admin_rcmrvpsm.php, English_admin_default.php

Weebly Hosting Module

  • Client Area: English_client_rcmrwhpm.php
  • Admin Area: English_admin_rcmwhpm.php, English_admin_default.php

Wordpress Hosting Module

  • Client Area: English_client_rcmrwphm.php
  • Admin Area: English_admin_rcmrphm.php, English_admin_default.php
  • Language, override, module language, custom language
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

ERROR Required parameter missing: customer-id

All provisioning modules automatically creates the customer in your LogicBoxes account if he does...

I can purchase a hosting plan on resellerclub demo OrderBox but not manage, why?

If you test the provisioning module on OrderBox demo platform, then you have to add the...

ERROR Required parameter missing: customer-id

All provisioning modules automatically creates the customer in your LogicBoxes account if he does...

ERROR Required parameter missing: customer-id

All provisioning modules automatically creates the customer in your LogicBoxes account if he does...

I can purchase a hosting plan on resellerclub demo OrderBox but not manage, why?

If you test the provisioning module on OrderBox demo platform, then you have to add the...