Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong translations when changing primary language #85

Open
edouardjamieson opened this issue Oct 17, 2023 · 0 comments
Open

Wrong translations when changing primary language #85

edouardjamieson opened this issue Oct 17, 2023 · 0 comments

Comments

@edouardjamieson
Copy link

Hi!

We've been using this plugin for some time now in combination with

  • wp-graphql
  • polylang

And when we try to change the primary language on polylang, the plugin still thinks the primary language is the old one. The default language returned by the query is right, but when querying pages or custom post types, their translated URIs are not quite right.

image

For example here, our main language is spanish, so the main website url should not have a /es at the end of the url but the other languages should. In the picture we can clearly see that the plugin still thinks the main language is english.

Do you have tips or way to resolve this issue ? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant