Open cannap opened 4 years ago
Hello, this plugin doesn't support WPML and in this time I don't have enough free time to implement this functionality. If you want you can implement this functionality by yourself and send me a pull request. I will add you to the contributors of this plugin
hi thanks for you answer wpml also gave much more problems i stoped using wordpress for my current project
Is this still the case in 2022?
We have a WPML setup, and are trying to pull Menu nodes in various languages over the REST API.
Any help, suggestions etc would be greatly appreciated
Hello @birksy89, I'm sorry but the plugin doesn't support WPML and in this time I'm too busy to implement this. If you want, you can try to implement this and send a PR that I will review (and I will add you to contributors).
I'm reopening the issue, so that if anyone else wants to contribute they can.
Hi when i add the WPML ?lang=query
http://masks.local/wp-json/menus/v1/locations/header?lang=**de**
this works because its the DEFAULT one
now when i add a other language
http://masks.local/wp-json/menus/v1/locations/header?lang=**en**
then i get the right menu but i get the slug as
slug: lang=en
Example: check the slug response Response with lang=de WPML Default lang
now with a non default query
lang=en
the items are correct but the slug is just ?lang=en