Skip to content

No way to recover / upload local translation overrides to the platform after a force retranslate #1666

Description

@m7md1alaa

Environment: gt-react, GT CLI 2.14.53,

What happened:

  1. Made manual translation edits in the online dashboard
  2. Ran gt translate --force (or gt translate --force-download) to pick up new source keys
  3. This force-retranslated the entire file, overwriting all manual overrides both locally and on the platform
  4. The old manual translations survived in git locally

What I tried:

  • gt save-local — compares local vs "last downloaded server version", but after a force retranslate, the baseline on the server is the new AI version. The diff might be wrong or empty.
  • gt upload — this uploads source files, not translation overrides, so it doesn't help
  • The platform dashboard shows the force-retranslated AI content with no way to restore the previous manual edits

Workaround (local only): A post-translation merge script that re-applies overrides from a separate ar.overrides.json after every translate run. This prevents local overrides from being lost, but doesn't solve the platform-side recovery problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions