chrismfz Posted July 24, 2008 Share Posted July 24, 2008 Let's say we want to create a multi language web site with whmcs in the same domain with whmcs. We have 2 languages. Greek for primary, English secondary. Greek on the root folder / and English in a subfolder /en/ But both Gr/En sites are using the same whmcs installation / folder And at whmcs configuration we have Gr as our default language. If someone clicks at http://www.domain.com/en/ the site is English. But if someone click at a whmcs link for example support or domainchecker it is in Greek. So I am wondering if there is a link we can add like the template "on-the-fly" change link http://domain/whmcs/?systemtemplate=portal for language change or a javascript to use or anything else anyway to change it dynamically when someone clicks on the English site. 0 Quote Link to comment Share on other sites More sharing options...
chrismfz Posted July 24, 2008 Author Share Posted July 24, 2008 Just saw the answer here: http://forum.whmcs.com/showthread.php?t=12611 a simple ?language= was enough... Sometimes something is so simple but I was still searching for the more complex answer... 0 Quote Link to comment Share on other sites More sharing options...
chrismfz Posted July 26, 2008 Author Share Posted July 26, 2008 In smarty templating system can I use an IF statement for the language variable posted before? Specifically I want to change one menu which is included with {php} to another php menu file with the English languge Considering that this will change if the language is set to English. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.