WeblateOrg / WeblateOrg/weblate
Detect moved translation values in the base file and re-add them
- Dominant language
- Python
- Stars
- 6.1k
- Forks
- 1.4k
- Avg merge
- 9h 53m
- Merged PRs (30d)
- 395
Description
### Describe the problem
If translations are moved to a different place in the base language JSON file due to refactoring, e.g.
```
{
"key1": "test"
}
```
to
```
{
"key1": {
"key2": "test"
}
}
```
Is it possible for all the other languages to detect that "test" was moved somewhere else and move the existing translation value, since the value is the same? currently that value is deleted from other languages if the addon to delete unused keys is enabled.
It is not sustainable for a developer to manually fix all the language files when making changes to the base translations.
### Describe the solution you'd like
Weblate should detected moved values in the base language and automatically move them in the other languages
### Describe alternatives you've considered
_No response_
### Screenshots
_No response_
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.