mirego / accent

The first developer-oriented translation tool. True asynchronous flow between translators and your team.
https://www.accent.reviews
BSD 3-Clause "New" or "Revised" License
1.29k stars 97 forks source link

Adding a new language causes strings to be weirdly disconnected #338

Closed Ellpeck closed 1 year ago

Ellpeck commented 1 year ago

I'm not sure how exactly to describe this, so I'll just share some screenshots of what happens below.

Essentially, when adding a new language to my project, all of the strings from the main language get added into the new language as expected, but in a way that makes them.. not be linked to the other languages? This means two things:

After adding the new language using the web UI. As you can see, there are no reference to any of the existing strings. image

After syncing using the CLI. As you can see, all of the strings are now duplicated, with one of the copies actually being linked to the other translations. image

It seems like this started happing somewhere after 1.11.3 (where this issue doesn't happen at all), but I'm not sure which version it started happening with exactly. All of these tests have been done on 1.13.0.

simonprev commented 1 year ago

Thanks for the report!

Oh this is a bug introduced in the optimization of adding a new language with lots of strings/documents.

It will be fixed in the next release, we just need to run some test against some new features before making 1.14 available 😃

renestalder commented 1 year ago

Successfully tested as resolved in 1.14.1.