{"id":1720767,"date":"2020-09-15T12:47:43","date_gmt":"2020-09-15T12:47:43","guid":{"rendered":"https:\/\/toolset.com\/?post_type=course-lesson&#038;p=1720767"},"modified":"2025-04-02T10:09:00","modified_gmt":"2025-04-02T10:09:00","slug":"translating-repeatable-field-groups","status":"publish","type":"course-lesson","link":"https:\/\/toolset.com\/es\/course-lesson\/translating-repeatable-field-groups\/","title":{"rendered":"Translating Repeatable Field Groups"},"content":{"rendered":"\n<p>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.<\/p>\n\n\n\n<p>Here\u2019s what a repeatable field group might look like when editing a page:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-media tb-image-frame-none aligncenter\" data-toolset-blocks-image=\"e6f5407f31b10797c73f397fb50b0c29\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2020\/08\/toolset-wpml-translating-repeatable-field-groups-example-backend-1-3.png\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2020\/08\/toolset-wpml-translating-repeatable-field-groups-example-backend-1-3-500x265.png\" alt=\"\" class=\"wp-image-1739267\"\/><\/a><figcaption><div class=\"tb-image-caption\">Repeatable fields group on the post editing screen<\/div><\/figcaption><\/figure>\n<\/div>\n\n\n<p>You can add as many gallery items as you like, and each one will contain the same set of fields.<\/p>\n\n\n\n<p>To make them translatable with WPML, follow these steps:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"1-make-the-associated-post-type-translatable\">1. Make the associated post type translatable<\/h3>\n\n\n\n<p>Repeatable field groups are assigned to a specific post type\u2014such as <strong>Posts<\/strong> and <strong>Pages<\/strong>, which are translatable by default.<\/p>\n\n\n\n<p>If your repeatable field group is assigned to a custom post type, go to <strong>WPML \u2192 Settings<\/strong>, scroll to the <strong>Post Types Translation<\/strong> section, and set the post type to one of the <strong>Translatable<\/strong> options.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"2-set-the-translation-options-for-the-groups-fields\">2. Set the translation options for the group\u2019s custom fields<\/h3>\n\n\n\n<p>Each field in a repeatable group is a regular custom field. You can set translation preferences in either of these places:<br><\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-toolset-blocks-grid tb-grid\" data-toolset-blocks-grid=\"9cbc03461b87a40447ddc413b8a01dd9\">\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"3034fbe886c11054e95b46b09d3e4112\">\n<p><strong>WPML \u2192 Settings \u2192 Custom Fields Translation<\/strong><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"3034fbe886c11054e95b46b09d3e4112\">\n<p><strong>Field Group Edit Screen in Toolset<\/strong><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"3034fbe886c11054e95b46b09d3e4112\">\n<figure class=\"wp-block-image tb-image tb-image-dynamic tb-image-frame-none\" data-toolset-blocks-image=\"bbb8d4d4823f286530867cff48d6d393\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2025\/03\/wpml-settings-making-custom-fields-translatable.png\"><img decoding=\"async\" width=\"1024\" height=\"586\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2025\/03\/wpml-settings-making-custom-fields-translatable-1024x586.png\" alt=\"\" class=\"wp-image-2802778\" srcset=\"https:\/\/toolset.com\/wp-content\/uploads\/2025\/03\/wpml-settings-making-custom-fields-translatable-1024x586.png 1024w, https:\/\/toolset.com\/wp-content\/uploads\/2025\/03\/wpml-settings-making-custom-fields-translatable-300x172.png 300w, https:\/\/toolset.com\/wp-content\/uploads\/2025\/03\/wpml-settings-making-custom-fields-translatable-150x86.png 150w, https:\/\/toolset.com\/wp-content\/uploads\/2025\/03\/wpml-settings-making-custom-fields-translatable-768x440.png 768w, https:\/\/toolset.com\/wp-content\/uploads\/2025\/03\/wpml-settings-making-custom-fields-translatable-1536x879.png 1536w, https:\/\/toolset.com\/wp-content\/uploads\/2025\/03\/wpml-settings-making-custom-fields-translatable-805x461.png 805w, https:\/\/toolset.com\/wp-content\/uploads\/2025\/03\/wpml-settings-making-custom-fields-translatable.png 1970w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"3034fbe886c11054e95b46b09d3e4112\">\n<figure class=\"wp-block-image tb-image tb-image-dynamic tb-image-frame-none\" data-toolset-blocks-image=\"c5122ea7195ba43242f0293ae33d5ed1\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2025\/03\/toolset-settings-custom-fields-edit-translation-preferences.png\"><img decoding=\"async\" width=\"1024\" height=\"836\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2025\/03\/toolset-settings-custom-fields-edit-translation-preferences-1024x836.png\" alt=\"\" class=\"wp-image-2802783\" srcset=\"https:\/\/toolset.com\/wp-content\/uploads\/2025\/03\/toolset-settings-custom-fields-edit-translation-preferences-1024x836.png 1024w, https:\/\/toolset.com\/wp-content\/uploads\/2025\/03\/toolset-settings-custom-fields-edit-translation-preferences-300x245.png 300w, https:\/\/toolset.com\/wp-content\/uploads\/2025\/03\/toolset-settings-custom-fields-edit-translation-preferences-150x123.png 150w, https:\/\/toolset.com\/wp-content\/uploads\/2025\/03\/toolset-settings-custom-fields-edit-translation-preferences-768x627.png 768w, https:\/\/toolset.com\/wp-content\/uploads\/2025\/03\/toolset-settings-custom-fields-edit-translation-preferences-1536x1254.png 1536w, https:\/\/toolset.com\/wp-content\/uploads\/2025\/03\/toolset-settings-custom-fields-edit-translation-preferences-637x520.png 637w, https:\/\/toolset.com\/wp-content\/uploads\/2025\/03\/toolset-settings-custom-fields-edit-translation-preferences.png 1724w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/div>\n<\/div>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>For a full overview of the translation preferences, see <a href=\"https:\/\/wpml.org\/documentation\/getting-started-guide\/translating-custom-fields\/#decide-how-to-translate\">WPML\u2019s guide on translating custom fields<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-to-translate-repeatable-field-groups\">Translating the custom fields<\/h2>\n\n\n\n<p>To translate custom fields:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to <strong>WPML \u2192 Translation Management<\/strong>.<\/li>\n\n\n\n<li>Select the page or post containing your custom fields.<\/li>\n\n\n\n<li>Choose a translation method and translate.<\/li>\n<\/ol>\n\n\n\n<p>If you\u2019re translating by yourself, go to <strong>WPML \u2192 Translations<\/strong>, find the item, and click <strong>Translate<\/strong>. This opens the <strong>Advanced Translation Editor<\/strong>, where you can translate the entire post, including custom fields.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic tb-image-frame-none aligncenter\" data-toolset-blocks-image=\"f26e14a6dad8a42e58b697b1aeee3cb4\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2025\/03\/wpml-advanced-translation-editor-translating-custom-fields-tinified.png\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2025\/03\/wpml-advanced-translation-editor-translating-custom-fields-tinified-500x397.png\" alt=\"\" class=\"wp-image-2802788\"\/><\/a><figcaption><div class=\"tb-image-caption\">Fields of a repeatable group in the Translation Editor<\/div><\/figcaption><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Translating field group names, labels, and static field options<\/h2>\n\n\n\n<p>If you want to translate the name of your field group, the labels of custom fields, or fields that include predefined options\u2014such as checkbox, checkboxes, select, or radio fields\u2014you\u2019ll need to send the field group for translation separately.<\/p>\n\n\n\n<p>To do this, go to <strong>WPML \u2192 Translation Management<\/strong>, scroll down to the <strong>Toolset Types Post Field Group<\/strong> section, and send the relevant field group for translation.&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic tb-image-frame-none aligncenter\" data-toolset-blocks-image=\"818ea53df0c41bd75674acecd013be96\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2020\/09\/wpml-translation-management-toolset-types-field-group.png\"><img decoding=\"async\" width=\"1024\" height=\"470\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2020\/09\/wpml-translation-management-toolset-types-field-group-1024x470.png\" alt=\"\" class=\"wp-image-2803826\" srcset=\"https:\/\/toolset.com\/wp-content\/uploads\/2020\/09\/wpml-translation-management-toolset-types-field-group-1024x470.png 1024w, https:\/\/toolset.com\/wp-content\/uploads\/2020\/09\/wpml-translation-management-toolset-types-field-group-300x138.png 300w, https:\/\/toolset.com\/wp-content\/uploads\/2020\/09\/wpml-translation-management-toolset-types-field-group-150x69.png 150w, https:\/\/toolset.com\/wp-content\/uploads\/2020\/09\/wpml-translation-management-toolset-types-field-group-768x353.png 768w, https:\/\/toolset.com\/wp-content\/uploads\/2020\/09\/wpml-translation-management-toolset-types-field-group-1536x705.png 1536w, https:\/\/toolset.com\/wp-content\/uploads\/2020\/09\/wpml-translation-management-toolset-types-field-group-2048x940.png 2048w, https:\/\/toolset.com\/wp-content\/uploads\/2020\/09\/wpml-translation-management-toolset-types-field-group-805x370.png 805w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption><div class=\"tb-image-caption\">Sending a post type field group for translation<\/div><\/figcaption><\/figure>\n<\/div>","protected":false},"author":4341,"featured_media":1734417,"template":"","related-lesson":[8467],"class_list":["post-1720767","course-lesson","type-course-lesson","status-publish","has-post-thumbnail","hentry","related-lesson-translating-your-site"],"_links":{"self":[{"href":"https:\/\/toolset.com\/es\/wp-json\/wp\/v2\/course-lesson\/1720767","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/toolset.com\/es\/wp-json\/wp\/v2\/course-lesson"}],"about":[{"href":"https:\/\/toolset.com\/es\/wp-json\/wp\/v2\/types\/course-lesson"}],"author":[{"embeddable":true,"href":"https:\/\/toolset.com\/es\/wp-json\/wp\/v2\/users\/4341"}],"version-history":[{"count":7,"href":"https:\/\/toolset.com\/es\/wp-json\/wp\/v2\/course-lesson\/1720767\/revisions"}],"predecessor-version":[{"id":2803828,"href":"https:\/\/toolset.com\/es\/wp-json\/wp\/v2\/course-lesson\/1720767\/revisions\/2803828"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/toolset.com\/es\/wp-json\/wp\/v2\/media\/1734417"}],"wp:attachment":[{"href":"https:\/\/toolset.com\/es\/wp-json\/wp\/v2\/media?parent=1720767"}],"wp:term":[{"taxonomy":"related-lesson","embeddable":true,"href":"https:\/\/toolset.com\/es\/wp-json\/wp\/v2\/related-lesson?post=1720767"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}