latestOpenAPI 3.1.12026-08-2013060964.7 KB
9a5a2cd152ae
Get Translation
Retrieve the content of a translation file for a specific locale file.
get/v1/{workspace}/translation/content/{locale_file}/
Path parameters
workspacestring required
Workspace slug (staging, production, etc.)
locale_filestring required
Locale file name (e.g., "fr.json", "es-MX.json", "auth.en.json")
Query parameters
mode'draft' | 'live'
Mode to fetch translation (draft or live). By default, draft translation is returned.
Response
Successfully retrieved translation content
Example response
{
"filename": "fr.json",
"locale": "fr",
"locale_name": "French",
"action": "updated"
}