Skip Navigation

Translating Repeatable Field Groups in WordPress

Toolset allows you to create and display repeatable field groups. Here, we explain how to set correct translation options and translate repeatable field groups.

Repeatable field groups let you add sets of custom fields multiple times within the same post or page. For example, you might create a repeatable field group for an image gallery on your pages. Each gallery item could include an image, caption, link (URL), and alt text.

Here’s what a repeatable field group might look like when editing a page:

Repeatable fields group on the post editing screen

You can add as many gallery items as you like, and each one will contain the same set of fields.

To make them translatable with WPML, follow these steps:

1. Make the associated post type translatable

Repeatable field groups are assigned to a specific post type—such as Posts and Pages, which are translatable by default.

If your repeatable field group is assigned to a custom post type, go to WPML → Settings, scroll to the Post Types Translation section, and set the post type to one of the Translatable options.

2. Set the translation options for the group’s custom fields

Each field in a repeatable group is a regular custom field. You can set translation preferences in either of these places:

WPML → Settings → Custom Fields Translation

Field Group Edit Screen in Toolset

For a full overview of the translation preferences, see WPML’s guide on translating custom fields.

Translating the custom fields

To translate custom fields:

  1. Go to WPML → Translation Management.
  2. Select the page or post containing your custom fields.
  3. Choose a translation method and translate.

If you’re translating by yourself, go to WPML → Translations, find the item, and click Translate. This opens the Advanced Translation Editor, where you can translate the entire post, including custom fields.

Fields of a repeatable group in the Translation Editor

Translating field group names, labels, and static field options

If you want to translate the name of your field group, the labels of custom fields, or fields that include predefined options—such as checkbox, checkboxes, select, or radio fields—you’ll need to send the field group for translation separately.

To do this, go to WPML → Translation Management, scroll down to the Toolset Types Post Field Group section, and send the relevant field group for translation. 

Sending a post type field group for translation