Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

When the system inserts back the translations, it will clone the source language node or array element for each target language. If the target objects/elements already exist fully or partially in the source file, the system will keep any existing properties and replace only those that we are translating.

Example

...

5 - Arrays in arrays in arrays

All the examples up to here are simple and you may come across more advanced files.

...

Code Block
{
  "products": [
    {
      "language": "English",
      "text": "This is an example",
      "features": {
          "English": "English feature",
          "French": "French translation",
          "Spanish": "Spanish translation"
          }
    }
    {
      "language": "French",
      "text": "Ceci est un exemple",
    }
  ]
}

Example

...

6 - Reading meta data

Please check out the meta-data examples we explain with monolingual files.

The mechanism and configuration options are the same.

...