Retrieve the content of a translation file for a specific locale file.
You can get Service Token from SuprSend dashboard -> Account Settings -> Service Tokens section.
Workspace slug (staging, production, etc.)
Locale file name (e.g., "fr.json", "es-MX.json", "auth.en.json")
Mode to fetch translation (draft or live). By default, draft translation is returned.
draft, live Successfully retrieved translation content
Name of the translation file
"fr.json"
Locale code for the translation file
"fr"
Human-readable name of the locale
"French"
Namespace for the translation file, if any
null
action done in the version compared to last commit.
added, updated, deleted, unchanged "updated"
When the translation file was last updated
Translation key-value pairs