---
title: "Changes to Import translations"
method: POST
path: "/files-api/v2/projects/{projectId}/locales/{localeId}/file/import"
---

# Changes to Import translations

`POST /files-api/v2/projects/{projectId}/locales/{localeId}/file/import`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 10 revisions.

- **2026-10-17** `2cd7a8215799`: 12 breaking, 22 info
- **2026-08-06** `ae422098d9c5`: 13 breaking, 1 info

## Changes

- **2026-10-17** `2cd7a8215799`: 12 breaking, 22 info
  - added the pattern `^[a-z0-9]{9}$` to the `path` request parameter `projectId`
  - added the pattern `^[a-z]{2}(-[A-Z]{2})?$` to the `path` request parameter `localeId`
  - added `#/components/schemas/FileUri` to the `fileUri` request property `allOf` list
  - the response property `response/errors/items/details` became nullable for the status `400`
  - the response property `response/errors/items/details` became nullable for the status `401`
  - the response property `response/errors/items/details` became nullable for the status `429`
  - the response property `response/errors/items/details` became nullable for the status `500`
  - the response property `response/errors/items/key` became nullable for the status `400`
  - the response property `response/errors/items/key` became nullable for the status `401`
  - the response property `response/errors/items/key` became nullable for the status `429`
  - the response property `response/errors/items/key` became nullable for the status `500`
  - the `response/allOf[subschema #2]/data/translationImportErrors/items/stringHashcode` response's property type changed from `string` to no type for status `200`
  - the request property `translationState` became optional
  - the `translationState` request property default value `PUBLISHED` was added
  - added the new `POST_TRANSLATION_PREPUBLISH` enum value to the request property `translationState`
  - added the new `android` enum value to the request property `fileType`
  - added the new `arb` enum value to the request property `fileType`
  - added the new `csv` enum value to the request property `fileType`
  - added the new `gettext` enum value to the request property `fileType`
  - added the new `ios` enum value to the request property `fileType`
  - added the new `javaProperties` enum value to the request property `fileType`
  - added the new `json` enum value to the request property `fileType`
  - added the new `pres` enum value to the request property `fileType`
  - added the new `qt` enum value to the request property `fileType`
  - added the new `resx` enum value to the request property `fileType`
  - added the new `srt` enum value to the request property `fileType`
  - added the new `stringsdict` enum value to the request property `fileType`
  - added the new `vtt` enum value to the request property `fileType`
  - added the new `xliff` enum value to the request property `fileType`
  - added the new `xliff2` enum value to the request property `fileType`
  - added the new `xml` enum value to the request property `fileType`
  - added the new `yaml` enum value to the request property `fileType`
  - the `fileUri` request property type was generalized from `string` to no type
  - added `#/components/schemas/Hashcode` to the `response/allOf[subschema #2]/data/translationImportErrors/items/stringHashcode` response property `allOf` list for the response status `200`
- **2026-08-06** `ae422098d9c5`: 13 breaking, 1 info
  - removed the enum value `android` of the request property `fileType`
  - removed the enum value `csv` of the request property `fileType`
  - removed the enum value `gettext` of the request property `fileType`
  - removed the enum value `ios` of the request property `fileType`
  - removed the enum value `java_properties` of the request property `fileType`
  - removed the enum value `json` of the request property `fileType`
  - removed the enum value `pres` of the request property `fileType`
  - removed the enum value `qt` of the request property `fileType`
  - removed the enum value `resx` of the request property `fileType`
  - removed the enum value `srt` of the request property `fileType`
  - removed the enum value `stringsdict` of the request property `fileType`
  - removed the enum value `xml` of the request property `fileType`
  - removed the enum value `yaml` of the request property `fileType`
  - the `overwrite` request property default value `false` was added

---

[Operation](https://skmtc.dev/smartling/apis/smartling-rest-api-reference/docs/files-api/v2/projects/:projectId/locales/:localeId/file/import/post.md) - [API](https://skmtc.dev/smartling/apis/smartling-rest-api-reference.md) - [Page](https://skmtc.dev/smartling/apis/smartling-rest-api-reference/changes/files-api/v2/projects/:projectId/locales/:localeId/file/import/post)
