Translation Entry Import

Import translation entries. Will either create the entry if it doesn't already exist, or update if does exist.

Note: This method also accepts a multipart/form-data POST with a file input instead of sending the file content in the request body, however this interactive reference documentation currently doesn't support this.

The data being imported may be formatted as either CSV or JSON.

When using the CSV format, a header row is required in the following order:

Context,Locale,Key,Value

When using the JSON format the data must be a list of entries, or a map with an "entries" property that contains the list of entries. Each entry needs to consist of a map with all the property names.

  • Example 1

    [
      {
        "context": "custom.context",
        "locale": "en",
        "key": "fname",
        "value": "First Name"
      },
      {
        "context": "custom.context",
        "locale": "en",
        "key": "lname",
        "value": "Last Name"
      }
    ]
    
  • Example 2

    {
      "entries": [
        {
          "context": "custom.context",
          "locale": "en",
          "key": "fname",
          "value": "First Name"
        },
        {
          "context": "custom.context",
          "locale": "en",
          "key": "lname",
          "value": "Last Name"
        }
      ]
    }
    
Language
Authorization
Basic
base64
:
URL