tolgee / tolgee-platform

Developer & translator friendly web-based localization platform
https://tolgee.io
Other
2.08k stars 205 forks source link

`project/{id}/keys/import` endpoint doesn't trigger stats refresh #2677

Closed JanCizmar closed 1 week ago

JanCizmar commented 2 weeks ago

Describe the bug When I use the project/{id}/keys/import, the statistics doesn't show unless I access the project dashboard (which triggers the sync refresh)

To Reproduce Steps to reproduce the behavior:

  1. In empty project, create new key using the project/{id}/keys/import endpoint including the base value
  2. Go to project list of your organization
  3. See "100% untranslated",

Expected behavior It should show "100% translated", if there is single language in the project

Versions and environment