thianbrodie Posted May 11, 2020 Share Posted May 11, 2020 Hey all, I have a custom built theme, I have duplicated the language switcher from whmcs to my theme, <li><a href="#" class="choose-language" data-toggle="popover" id="languageChooser" data-original-title="" title="" aria-describedby="popover180108"> English <b class="caret"></b> </a> <div id="languageChooserContent" class="hidden"> <ul> <li> <a href="/clientarea.php?language=arabic">العربية</a> </li> <li> <a href="/clientarea.php?language=azerbaijani">Azerbaijani</a> and so on This works on client area but not on my custom pages created, e.g Web Design page. any ideas anyone how I can get it to work on all the my site content? Thian 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 12, 2020 Share Posted May 12, 2020 17 hours ago, thianbrodie said: This works on client area but not on my custom pages created, e.g Web Design page. any ideas anyone how I can get it to work on all the my site content? does the content of the custom page template contain hard coded text or are you using language strings in there ? if it's hard coded text, then changing to a different language won't change anything; if you're using custom Language Overrides for the content, then changing the language should change the text - assuming that you have created language strings for all the languages that you're using. changing languages in WHMCS doesn't translate the text of the fly. 1 Quote Link to comment Share on other sites More sharing options...
thianbrodie Posted May 12, 2020 Author Share Posted May 12, 2020 Hi Brian, Thank you for your reply, I was looking at doing it on the fly, I am using overides, I will create some more strings. Thian 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.