Upload a new language file. Creates necessary resources in your project.
Note: be aware of upload limits.
Enter your token in the format token TOKEN
Two-Factor-Authentication token (optional)
Project ID
File to be imported
"/path/to/my/file.json"
File format. Auto-detected when possible and not specified.
"json"
Locale of the file's content. Can be the name or id of the locale. Preferred is id.
"abcd1234cdef1234abcd1234cdef1234"
specify the branch to use
"my-feature-branch"
List of tags separated by comma to be associated with the new keys contained in the upload.
"awesome-feature,needs-proofreading"
Indicates whether existing translations should be updated with the file content.
true
Determines whether to update custom metadata values when uploading a file. If set to true, existing metadata can be changed or removed. Passing an empty value deletes the corresponding metadata property.
true
Pass false here to prevent new keys from being created and existing keys updated.
true
Update target translations only if the source translations of the uploaded multilingual file match the stored translations.
true
Specifies the source locale for multilingual files. Can be the name or id of the locale. Preferred is id.
"abcd1234cdef1234abcd1234cdef1234"
Existing key descriptions will be updated with the file content. Empty descriptions overwrite existing descriptions.
true
This option is obsolete. Providing the option will cause a bad request error.
true
Indicates whether the upload should not create upload tags.
true
Indicates whether the upload should unverify updated translations.
true
Enforces a specific encoding on the file contents. Valid options are "UTF-8", "UTF-16" and "ISO-8859-1".
"UTF-8"
Mapping between locale names and translation columns. Required in some formats like CSV or XLSX.
"{\"en\": \"2\"}"
Additional options available for specific formats. See our format guide for the complete list.
"{\"foo\": \"bar\"}"
If set, translations for the uploaded language will be fetched automatically.
true
Indicates whether all translations mentioned in the upload should be verified.
true
Indicated whether the imported translations should be marked as reviewed. This setting is available if the review workflow is enabled for the project.
true
Indicates whether only keys affected (created or updated) by the upload should be tagged. The default is false
true
This prefix will be added to all uploaded translation key names to prevent collisions. Use a meaningful prefix related to your project or file to keep key names organized.
"prefix_"