Toolset allows you to connect content using post relationships. Here, we explain how to translate related content and how these translations appear on the site’s front-end.
A post relationship can involve up to three post types.
One-to-one and one-to-many relationships involve two post types: parent and child. For example, we can have “Airports” (parent) and “Flights” (children), which are two post types that are directly related.
A many-to-many relationship, on the other hand, features a so-called “intermediary” post type that connects the two main post types. For example, we can have “Clients”, connected to “Developers” through a “Contract” (intermediary post type). This is explained in more details on the page about many-to-many relationships.
You need to set the translation mode for post-types that are related. To do this, go to WPML → Settings. There, scroll to the Post Types Translation section.
WPML and Toolset allow you to have any combination translation modes for post types involved in a relationship.
Working with Related Translated Content
Once you have selected the translation options for post types in a relationship, you can translate the posts using your favorite translation method in WPML.
When translating, you need to translate the content, but you don’t have to do anything about the related posts. All the post connections come from the ones you already made in the other language (the one where the connections already exist).