I have a blog for which only a few posts are translated in several languages. I want to display the mlang-menu only on posts with contents in several languages, and only with the relevant languages.
It somehow works if I put this in the post itself (html view):
HOWEVER, when you first go to the web site, if you click very rapidly to the language button, it goes to the root page of the website (here, to: http://localhost/).
Maybe it is because the mlanguage.js is not loaded yet.
If you wait or have already loaded mlanguage.js, then it works (until you clear the cache).
Any hint on how to solve this?
PS: a bonus would be to have a short code instead of the above html code.
- The topic ‘[Plugin: mLanguage] Optional mlang-menu’ is closed to new replies.