Considerations for multi-language fields

Multi-language fields are structured in JSON objects with the individual language locales as keys. It is important to adhere to the provided format when editing content for the languages. Examples:

{
  "en": "Goodnight", 
  "de": "Guten Abend"
}

Each of the keys ( en and de in the above example) must match the selected ISO locales set up for your multi-language content for the text to show up in ACF. 

Note, that if your multi-language field is also a repeatable field, the above format will be in an array like this:

({
  "en": "Goodnight", 
  "de": "Guten Abend"
},
{
  "en": "Good morning", 
  "de": "Guten Morgen"
}]

When editing content for each language in an import file, please ensure that any double quotes are "escaped", i.e. prefixed by a backslash:

{ 
 "en": "My name is \"Boss\"",
 "de": "Mein Name ist \"Boss\"" 
}
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us