☕REST API Reference
The Transiyzi API allows you to retrieve updated translated content, modify it, or upload new content for translation.
Last updated
The Transiyzi API allows you to retrieve updated translated content, modify it, or upload new content for translation.
Last updated
To get started, follow our documentation and POST your content for translation. You can continuously translate your content and GET your translations precisely when you need them. The usage of the API is free.
To obtain your token, go to your profile settings and click on the "Access Tokens" section. Create a new token there and use it to access the API.
GET
https://transiyzi.com/api/v1/export/locale
It exports your translations in the file format that you specify.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
POST
https://transiyzi.com/api/v1/import/locale
It is used to import existing translation files.
GET
https://transiyzi.com/api/v1/projects
It lists your projects.
GET
https://transiyzi.com/api/v1/projects/languages
It fetches the languages of the specified project. It can also be used to get their ISO codes.
GET
https://transiyzi.com/api/v1/file-types
It can be used to list the formats that can be used in the export endpoint. The 'key' field in the response should be used.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Authorization*
String
Bearer: YOUR_ACCESS_TOKEN
project_id*
UUID
Your project ID. It can be found in the project settings.
locale
String
If left blank, all project languages will be exported. The selection must be made from your project's languages, and the parameter must be sent in ISO-code format: en, en-US, tr, tr-TR.
format
String
The language files are exported in the specified format here.
default_format
String
Default: JSON. The keys that are not associated with a file are exported in this format.
include_unreviewed_translations
Boolean
Default: false. If true is sent, translations that have not yet been approved will be included in the export.
Authorization*
String
Bearer: YOUR_ACCESS_TOKEN
project_id*
UUID
Your project ID. It can be found in the project settings.
file*
String
The translation file to be imported.
file_name
String
The name and path of the file to be imported can be specified together. If not specified, the name of the uploaded file is used. For example: %LANG_ISO%.php, test/test.json, vendor/nova/%LANG_ISO%/validation.php.
locale*
String
The language of the file you want to import can be specified here.
update_translations
Boolean
Default: false. When set to true, existing translations for keys will be updated with the translations from the imported file.
Authorization*
String
Bearer: YOUR_ACCESS_TOKEN
Authorization*
String
Bearer: YOUR_ACCESS_TOKEN
project_id*
UUID
Your project ID. It can be found in the project settings.
Authorization*
String
Bearer: YOUR_ACCESS_TOKEN