Skip Navigation

[Resolved] Relationships after changing WPML primary language

This support ticket is created 4 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Waqar 4 years, 5 months ago.

Assisted by: Waqar.

Author
Posts
#1745279

I am using a wordpress site with WPML and toolset (everything is up2date).
i have changed the WPML default language from english to german. now relationships between custom post types are shown in english but NOT in german (the default language). i have checked settings but could not find any hint what is wrong. could you help me?

#1745515

Hi,

Thank you for waiting, while I performed some testing and research.

As explained in our documentation, the actual connection of post-relationships are formed between the posts in the primary language:
https://toolset.com/documentation/translating-sites-built-with-toolset/translating-related-content/

For this reason, when the primary language is changed, those connections or associations are lost.
( Note form the documentation: "You should never change the site’s default language after the post relationships are already set. This will likely break the site altogether." )

Unfortunately, in this case, you'll have to create associations between the german (default language) posts again.

regards,
Waqar