Updates or creates a translation file for a specific repository, language, and bundle
prismy push
See the Prismy Hosted CLI guide.
API token from your organization settings
Repository identifier
Language code (e.g., en-US, fr-FR, es-ES)
Bundle name or ID
If true, completely replaces the file. If false, merges new keys only
If true, automatically translates new keys to other languages in the bundle
If true, waits for translations to complete before responding
Target branch name. Defaults to the repository's main branch. If the branch does not exist, it will be created, by copying the main branch and applying the changes.
Username or email to use as author when creating versions. If not provided, defaults to 'Prismy API'
Use with override=true to synchronize key removal across the bundle. When true, any key that exists in the bundle but is missing from your upload is removed from all language files (e.g. en, fr, es) in that bundle. Useful after cleaning unused keys (e.g. with i18n-unused): upload the cleaned source file with override=true and this flag to have the same keys removed from every language. Deletions are preserved when you merge your branch into main.
Request body supports two formats: JSON object or file content. Optionally include tags to add static tags to newly added or edited keys (requires Tags feature enabled at https://app.prismy.io/tags). Existing tags are reused by name; new tags are created with auto-assigned colors.
Translation file updated successfully
true
"Translation file updated successfully"
"main"
2
false
True when you used delete-removed-keys-from-all-files and keys were actually removed from the bundle. Confirms that unused-key cleanup was applied across all language files.
false
true
false
Results of translation generation for other languages
Present when tags array was provided. Results of applying static tags to newly added or edited keys.