How to use Tag Groups together with WPML
First, you need to set up WordPress Multilingual with the languages you need. Then you enter the Tag Groups admin page where you create and edit tag groups. This page will not look much different from what you are used to. But now you can edit the names for each language independently.
All you need to do is to switch to another language in the admin bar. By default, all languages use the group names of your default language.
On all admin pages, you will see the group names that correspond to the language chosen in the admin bar. On the front end, the group names naturally match the language of the page.
Some more details:
- If you create a new group in a translation (that is, not in your default language), the default language will first receive its group name from that translated language so that it won’t remain empty.
- The order of the groups is the same across all languages.
- The label “not assigned” remains untranslated on your back end. On the front end you can choose the translation in the shortcode.
- Each language version of a tag can belong to a different group.1
- If you create a translation of a tag, the translated tag will receive the groups of the original tag, unless you set different groups during the translation.
What has happened to the WPML menu?
If you are using Tag Groups for a long time, you may remember that there was once a menu item “WPML” that offered a basic integration into WPML. This function has now become obsolete.
Previously, group names were treated as translatable strings, not much different than text inside your theme. The new solution, however, enables you to translate and change group names right there where you create and edit them.