Supported Formats
Entri supports the following file formats for both import and export:Endpoints
List Supported Formats
Returns the list of format identifiers supported by the API:Import Translations
Send translation file content as a JSON body. Thelanguage field identifies which language the content is for. The format field tells Entri how to parse it. The content field should contain the raw file content as a string.
Setting
overwrite: false means existing translations will not be replaced — only new keys will be created and missing translations will be added.
Response:
Export Translations
Downloads translations for a single language as a file in the requested format:Content-Type: application/octet-stream and a Content-Disposition header specifying the filename.
Additional response headers:
Export does not support filtering by translation status. All translations for the specified language are included in the export.
Key Notes
- Import jobs are processed synchronously. The response is returned once processing is complete.
- Namespace support is available for JSON formats: keys can be grouped under a namespace prefix (for example
common.nav.home). - The Entri CLI wraps these endpoints with
entri push(import) andentri pull(export), handling file pattern matching automatically.
For day-to-day CI/CD sync workflows, the CLI is usually more convenient than the raw import/export API. Use the API directly when you need fine-grained control over the import behavior or when integrating with a custom toolchain.