Personal tools
Namespaces

Variants
Actions

General

From ModulesGarden Wiki
(Difference between revisions)
Jump to: navigation, search
(How To Change Module Language)
Line 12: Line 12:
 
|}
 
|}
 
{|
 
{|
|style="padding: 10px 0px 20px 15px;"|'''2. Now you can enter to your newly created file and easily replace particular sentences.'''<br />
+
|style="padding: 0px 0px 20px 15px;"|'''2. Now you can enter to your newly created file and easily replace particular sentences.'''<br />
 
For presentation purposes we changed ''['manage header']'' from '' 'Manage' '' to '' 'Ordenar' ''. Don't forget to save the changes.
 
For presentation purposes we changed ''['manage header']'' from '' 'Manage' '' to '' 'Ordenar' ''. Don't forget to save the changes.
 
|}
 
|}
Line 19: Line 19:
 
|}
 
|}
 
{|
 
{|
|style="padding: 10px 0px 20px 15px;"|'''3. Now you can change the language in two ways:<br />
+
|style="padding: 0px 0px 20px 15px;"|'''3. Now you can change the language in two ways:<br />
 
*Through changing client's language in your WHMCS system:
 
*Through changing client's language in your WHMCS system:
 
|}
 
|}
Line 26: Line 26:
 
|}
 
|}
 
{|
 
{|
|style="padding: 10px 0px 20px 15px;"|
+
|style="padding: 0px 0px 20px 15px;"|
 
*Through changing language directly in the clientarea (keep in mind that customers can change their language anytime they want):
 
*Through changing language directly in the clientarea (keep in mind that customers can change their language anytime they want):
 
|}
 
|}
Line 33: Line 33:
 
|}
 
|}
 
{|
 
{|
|style="padding: 10px 0px 20px 15px;"|'''4. As you can see on the following screen the header has changed to '' 'Ordenar' '' owing to our changes.  
+
|style="padding: 0px 0px 20px 15px;"|'''4. As you can see on the following screen the header has changed to '' 'Ordenar' '' owing to our changes.  
 
|}
 
|}
 
{|
 
{|
Line 39: Line 39:
 
|}
 
|}
 
{|
 
{|
|style="padding: 10px 0px 30px 15px;"|'''That's all, from now on you shouldn't have any problems with changing language in our addon modules.'''
+
|style="padding: 0px 0px 30px 15px;"|'''That's all, from now on you shouldn't have any problems with changing language in our addon modules.'''
 
|}
 
|}

Revision as of 11:35, 6 September 2012

How To Change Module Language

Please note that not all of our modules have Multilanguage.

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

Now copy 'english.php' file and rename it to your desired language, for example 'spanish.php' .

Lang1.png
2. Now you can enter to your newly created file and easily replace particular sentences.

For presentation purposes we changed ['manage header'] from 'Manage' to 'Ordenar' . Don't forget to save the changes.

Lang2.png
3. Now you can change the language in two ways:
  • Through changing client's language in your WHMCS system:
Lang4.png
  • Through changing language directly in the clientarea (keep in mind that customers can change their language anytime they want):
Lang5.png
4. As you can see on the following screen the header has changed to 'Ordenar' owing to our changes.
Lang3.png
That's all, from now on you shouldn't have any problems with changing language in our addon modules.
Navigation
WHMCS Modules
WHMCS Widgets
Translations
cPanel Modules
General
FAQ
Community
General