Home Forums General Issues Sync the fields group between languages


Sync the fields group between languages

  • Hello,

    I’m using ACF for a multilingual website (built with Polylang).
    I use flexible content a lot to build different type of pages, It’s more easy and fast than using Gutenberg an block system.

    Problem is : when I want to change the structure of field group, I need to change this to each language group (five in my situation 🙃)
    And it may cause error. As my field group always have the same structure from one language to an other, is there a way to sync/mirror them ?
    I though clone could be the solution, but field group in clone are not shared between languages.

    Thanks for your help

  • As I just read in the document for polylang, this is not possible and there isn’t any way to accomplish this from the ACF site.

    Some ideas on making it easier.

    Yes, you should use clones, but probably not in the way you are thinking.

    Each “Layout” that you use in your Flexible Content field should be in a separate field group. In this main group containing the flex field you “Clone” all of the field groups, one per layout. Then you translate the main group and all of cloned groups. Then edit the main group flex layouts to clone the correct translated field group for that language.

    Then when you add a layout or edit a layout the amount of work needed is reduced.

    To add a layout create a new field group for the layout, translate it, clone it into a new layout in each of the flex field groups.

    If you need to edit a layout you only need to make changes to the affected layout group.

  • Hi John,

    Thank you for the tips.
    Not the solution that I hoped, but can reduce the workflow for sure.
    Better than nothing 🙃


Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.