Update Translation File
Updates or creates a translation file for a specific repository, language, and bundle
This action is also available via CLI
prismy push
See the Prismy Hosted CLI guide.
Path Parameters
Query Parameters
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.
Body
- Option 1
- Option 2
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.
Response
Translation file updated successfully