View Full Version : Changing the language.
arpowers
01-25-10, 06:48 AM
What's the best way to change the language in the client side templates?
just show the client your language selector. in tpl file (header.tpl or footer.tpl should be fine) edit:
{if $langchange}<div class="contentbox">{$setlanguage}</div>
{/if}
for information you can change the language with GET param, too:
yourpath/afile.php?othergetparam=othergetvalue&language=German
arpowers
01-25-10, 09:13 AM
sorry I phrased that poorly.. (thanks for the response)
what I meant to ask was, how do I change the phrasing and titles of things in the admin?
E.g. how to change "My Services" to "Your Products"
phrasing and titles of things in the admin
i think you mean the clientlogin interface.
take a look in your <whmcs-root>/lang folder.
Edit the files in the /lang folder: http://wiki.whmcs.com/Language_Files
arpowers
01-25-10, 06:57 PM
thanks guys!...
how does that work with translation?
or if I change this, do I want to kill the change language function?
or if I change this, do I want to kill the change language function?
you can disable the language change ability in Backend/General Settings/Localisation
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.