TechnikOnkel Posted November 16, 2015 Share Posted November 16, 2015 Hello, i would like to use WHMCS with two different Domains for the language. domainA.de DEUTSCH and domainB.com ENGLISCH Can this be setup with WHMCS anyway? Because there is only one Default System URL Thank you 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted November 16, 2015 Share Posted November 16, 2015 you might want to take a look at the addon below... http://forum.whmcs.com/showthread.php?101890-Advanced-Localisation-Geolocalisation-language-currency-for-each-country-multi-language-domains ... or read the article below... http://www.blog.modulesgarden.com/automatic-currency-and-language-setup-for-whmcs/ 0 Quote Link to comment Share on other sites More sharing options...
HardSoftCode Posted November 16, 2015 Share Posted November 16, 2015 Hi You can try something like this if($_SERVER['SERVER_NAME'] == 'www.domainA.de') { $_SESSION["Language"] = 'deutsch'; } elseif($_SERVER['SERVER_NAME'] == 'www.domainB.de') { $_SESSION["Language"] = 'englisch'; } 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.