Personal tools
Namespaces

Variants
Actions

Hosting Quota Notifications 1.X For WHMCS

From ModulesGarden Wiki
(Difference between revisions)
Jump to: navigation, search
(Tips)
Line 1: Line 1:
=Tips=
+
==How To Change WHMCS Module Language==
 +
'''<span style="color: #ff0000;">Please note that not all of our modules are provided with Multi-Language Support.</span>'''
 
{|
 
{|
|style="padding: 10px 0px 10px 15px;"|1. For your convenience, payments gateway charges are enabled by default for clients, products and addons.<br/> Charges for domains and other are disabled by default.
+
|style="padding: 10px 0px 15px 15px;"|'''1. Changing WHMCS module language is very simple. First of all, go to '' 'lang' '' folder located in your module or templates directory (that depends on the module).'''<br />
 +
Now copy '' 'english.php' '' file and rename the newly copied directory with your desired language, for example '' 'spanish.php'. ''
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 5px 15px;"|2. Promotion codes: if the option '' 'Charge After Applying Promo Code' '' is enabled in the addon, you need to remember about one thing. <br/>
+
|style="padding: 0px 0px 20px 25px;"|[[File:Lang1.png]]
''If the promotion code is created for a bundle of items (e.g. a product ordered with an addon) then all '''required''' items must be chargeable to allow the promotion <br/>before being charged with the gateway charge. In case at least one of the required items in the ordered package is not chargeable, the promotion will be applied after charging the price.''
+
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 5px 15px;"|3. Charge/Discount Charges visible names are included in language file of the module (e.g. english.php), there are used two variables which you can use to alter displayed names of the two options.<br/> The mentioned variables are:
+
|style="padding: 0px 0px 15px 15px;"|'''2. Open your personalized file now and replace particular sentences with ease.'''<br />
$LANG['mg_chtpl_charged'] = 'Payment Gateway Charge';
+
For presentation purposes we changed ''['manage header']'' from '' 'Manage' '' to '' 'Ordenar'. '' Do not forget to save the changes!
$LANG['mg_chtpl_discount'] = 'Payment Gateway Discount';
+
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 5px 15px;"|4. It is advised that '' 'Auto Apply Credits' '' option should be disabled due to the possibility of problems occurrence.<br/>
+
|style="padding: 0px 0px 20px 25px;"|[[File:Lang2.png]]
Charge is not automatically added and calculated  when auto applying credits.<br/>
+
Problems may occur when a client does not have sufficient credits for both the basic payment and the charge.
+
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 15px;"|5. In case administrator deletes a hosting product that has been invoiced but later on the payment gateway is changed then such hosting product is treated as of '' 'Other' '' type on the invoice.
+
|style="padding: 0px 0px 15px 15px;"|'''3. There are two ways you can alter the language:<br />
 +
*Change the client's language in your WHMCS system:
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 15px;"|6. It is possible to either hide or change the header above the available payment gateways visible to the client. To do so you need to edit your currently used template. Depending on the cart you are using, the templates are loacted in: ''/modules/addons/gateway_charges_functions/templates/''<br/>
+
|style="padding: 0px 0px 20px 25px;"|[[File:Lang4.png]]
Full list of files:
+
|}
*boxes.tpl
+
{|
*ajaxcart.tpl
+
|style="padding: 0px 0px 20px 15px;"|
*cart.tpl
+
*Change the language directly in the client area (keep in mind that customers can change their language anytime they want):
*comparison.tpl
+
|}
*default.tpl
+
{|
*modern.tpl
+
|style="padding: 0px 0px 20px 25px;"|[[File:Lang5.png]]
*slider.tpl
+
|}
*standard_cart.tpl
+
{|
*verticalsteps.tpl
+
|style="padding: 0px 0px 20px 15px;"|'''4. Take a look at the screen and you will see that the header has changed to '' 'Ordenar', '' which is a direct consequence of our modifications.'''
 +
|}
 +
{|
 +
|style="padding: 0px 0px 20px 25px;"|[[File:Lang3.png]]
 +
|}
 +
{|
 +
|style="padding: 0px 0px 30px 15px;"|Act accordingly to the above instructions to implement any changes in the language files of our modules. <br/>In case you have any doubts or encounter any problems we will do our best to provide you with adequate assistance.
 
|}
 
|}

Revision as of 13:31, 6 July 2016

How To Change WHMCS Module Language

Please note that not all of our modules are provided with Multi-Language Support.

1. Changing WHMCS module language is very simple. First of all, go to 'lang' folder located in your module or templates directory (that depends on the module).

Now copy 'english.php' file and rename the newly copied directory with your desired language, for example 'spanish.php'.

Lang1.png
2. Open your personalized file now and replace particular sentences with ease.

For presentation purposes we changed ['manage header'] from 'Manage' to 'Ordenar'. Do not forget to save the changes!

Lang2.png
3. There are two ways you can alter the language:
  • Change the client's language in your WHMCS system:
Lang4.png
  • Change the language directly in the client area (keep in mind that customers can change their language anytime they want):
Lang5.png
4. Take a look at the screen and you will see that the header has changed to 'Ordenar', which is a direct consequence of our modifications.
Lang3.png
Act accordingly to the above instructions to implement any changes in the language files of our modules.
In case you have any doubts or encounter any problems we will do our best to provide you with adequate assistance.
Navigation
WHMCS Modules
WHMCS Widgets
Tools And Applications
Translations
General
FAQ
Community