CraZyLteR Posted May 17, 2012 Share Posted May 17, 2012 Hi, I am having an issue of LiveHelp, not changing it's language with the sellection on WHMCS site. I am planning on giving support in 2 languages, but for now, I have to set the LiveHelp language manually from Windows App, or to the livehelp.php hook file (which is located on /includes/hooks/) with a LiveHelpSettings.locale = 'en'; (or any language code) line that tells LiveHelp on which language it should open. I tought making that "en" code a variable like "$liveHelpLang" and use it like LiveHelpSettings.locale = '{$liveHelpLang}'; should work. But I know of PHP not so much, so I don't know where to put that variable so that the hook file will recognize it. I tried creating $_LANG['LiveHelpLanguage'] = "xx"; on both the languages files and used LiveHelpSettings.locale = '{$LANG.liveHelpLang}'; on the livehelp.php hook file. But with that site won't open, just a white screen. Can someone help me to solve this issue, or at least show me the right direction to follow? Thanks in advance... 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.