hopper08
Forum Replies Created
-
Forum: Plugins
In reply to: [qTranslate X] How to translate custom menu link URL?I’m sorry for the delay, I’ve been quite ill and not at work to test this out. I will test it soon and let you know.
Thanks!Forum: Plugins
In reply to: [qTranslate X] How to translate custom menu link URL?I’m not sure I totally understand what you’re suggesting.
Could you please explain with more detail?Forum: Plugins
In reply to: [qTranslate X] How to translate custom menu link URL?For an example please see this link:
https://www.nrc-cnrc.gc.ca/ci-ic/This is what wee currently have online now, it is in an older version of WP with the old qTranslate. I’m currently doing testing on an dev server testing the upgrade of WP ti the latest version and using qTranslateX.
In the link above you see a left nav with items like these in it:
-Current Issue
-About Construction Innovation
-Order Codes and Guides
-CCMC New Product Evaluations
-Subscribe
-Feedback
-ArchivesThis nave is created using a WP menu.
4 of these links are within the WP site and 3 are not. If you hover over them you’ll see that 4 of them start with “https://www.nrc-cnrc.gc.ca/ci-ic/” as their URL, which is the WP site, but 3 of them don’t:
-Order Codes and Guides
-CCMC New Product Evaluations
-SubscribeThese have urls pointing to other places on the NRC site outside of WordPress:
ex: https://www.nrc-cnrc.gc.ca/eng/subscribe/index.html
Each of these external links has an English version and a French version. The French version of the link immediately above is:
https://www.nrc-cnrc.gc.ca/fra/abonnez/index.html, going to an entirely different page on the French site.Right now in the WP menu for this left nav, I can have the label of these links translated in EN and FR but I can only use 1 url, I can’t have a different url for it in each language, which I require. Even the hack we were using with the old qTranslate of going in to the database and physically overwriting the value with
[:en]https://en_page_url.html[:fr]https://fr_page_url.html
isn’t working either.Does this help illustrate my issue?
Thanks, I really appreciate your helping me.Forum: Plugins
In reply to: [qTranslate X] How to translate custom menu link URL?We have links in our menu to pages outside of the site and the URL are different in English and in French. In the original iteration of the site using the old qTranslate plugin, we had to go into the database and override the link URL value with something that looked like this:
[:en]https://en_page_url.html[:fr]https://fr_page_url.html
However this isn’t working using qTranslate X. Instead when I mouse over the links on the page they look like:
https://mywordpresssite.com/en/%5B:en%5Dhttps://en_page_url.html%5B:fr%5Dhttps://fr_page_url.html
when really the link should show either https://en_page_url.html or https://fr_page_url.html depending on the language.