Integrate GTranslate into Website Menu
-
Hi Edo888,
Great plugin! Hey, is there any way we can integrate GTranslate into our website (via WordPress) as a dropdown menu? (not as a dropdown widget as provided by your plugin).
See attached photos. First photo shows what the dropdown looks like (front end). Second photo shows the shortcode and instructions provided for another, similar plugin (back end).
Assistance appreciated. We’re ready to purchase your premium plugin, but need to make sure it will work for us.
Thanks!
1st Photo: https://www.dropbox.com/s/hg1jjusjc68xqmi/Website%20Dropdown%20Menu%20with%20Languages.jpg?dl=0
2nd Photo: https://www.dropbox.com/s/ooxt7nmof1lvjph/WP%20Menu%20Set%20up%20for%20Languages.png?dl=0
-
Hi,
Please upgrade to the latest version 2.8.19 and add gtranslate-parent class to the menu item under which you wish the dropdown language selector to appear. (for your case Global should have gtranslate-parent as CSS Classes)
Make sure that you use Flags with language name widget look and that Show in Menu is set to the Menu in which you wish it to appear.
Thanks!
Hi Edo,
Thanks for the quick response. We did exactly as you said, but the translation menu is not appearing below “GLOBAL.” It’s appearing on the top-right side of our page when we hover over GLOBAL. Click on link below for snapshot.
Again, we would like to have the languages appear below GLOBAL as shown in the pic of our previous post and NOT as a widget. Only a dropdown with a simple look (flag + language name). No need for the pretty box shadow. Could you generate a shortcode for each language/flag so we can do this? Another plugin author has achieved this but their coding is not friendly with all browsers.
Thanks again. Hope you can make it work. If it helps, we can chat online for a better explanation.
Link: https://www.dropbox.com/s/ooxt7nmof1lvjph/WP%20Menu%20Set%20up%20for%20Languages.png?dl=0
Let’s try again . . . here’s what we get (pic).
https://www.dropbox.com/s/5zsl0ip6v3v78nq/Gtranslate%20in%20Menu.jpg?dl=0
And last, this doesn’t work on mobile devices. The word “English” is displayed below GLOBAL, with no other language options displayed.
Here’s how we set up “GLOBAL” (using your instructions):
https://www.dropbox.com/s/pldfuo84lu3qdz8/GTranslate%20Setup%20for%20GLOBAL%20Menu.png?dl=0
You are not using “Flags with language name” widget look.
We just fired our Chief IT Engineer. Can’t believe he missed that!
Fixed. It works (click on link). You’re a genius. Now, is their any way we can make the flags/text larger? (via CSS or some other code)
Thanks a million!
https://www.dropbox.com/s/umr1s7qxo9xelij/Gtranslate%20in%20GLOBAL%20Menu.jpg?dl=0
Change the flag size from the options list.
Perfect! Thank you.
You are welcome.
If you are happy with it, please consider leaving a review.
I will be happy to see a “How To” written by you, so I can include it in our documentation π
Thanks!
-
This reply was modified 9 years ago by
edo888.
Done! Well deserved. Thank you.
You are welcome. Thanks!
-
This reply was modified 9 years ago by
The topic ‘Integrate GTranslate into Website Menu’ is closed to new replies.