Skip to content

Wrong translations when changing primary language #85

Description

@edouardjamieson

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions