☕
REST API Reference
The Transiyzi API allows you to retrieve updated translated content, modify it, or upload new content for translation.
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
Export Languages
It exports your translations in the file format that you specify.
Parameters
Header
Authorization*
Bearer: YOUR_ACCESS_TOKEN
Body
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.
Responses
post
https://transiyzi.com/api/v1/import/locale
Import Languages
It is used to import existing translation files.
Parameters
Header
Authorization*
Bearer: YOUR_ACCESS_TOKEN
Body
project_id*
UUID
Your project ID. It can be found in the project settings.
file*
String
The translation file to be imported.
locale*
String
The language of the file you want to import can be specified here.
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.
update_translations
Boolean
Default: false. When set to true, existing translations for keys will be updated with the translations from the imported file.
Responses
get
https://transiyzi.com/api/v1/projects
List Projects
get
https://transiyzi.com/api/v1/projects/languages
List Languages
get
https://transiyzi.com/api/v1/file-types
List File Formats
Last modified 6mo ago