WeblateOrg / WeblateOrg/weblate

Moving translation files clears Weblate memory

Open
#8,946 6 comments 1 reaction 0 assignees View on GitHub
enhancement Waiting for: Demand
Dominant language
Python
Stars
6.1k
Forks
1.4k
Avg merge
9h 53m
Merged PRs (30d)
395

Description

### Describe the issue

When moving translation files via git (with the move being reflected in it, not just a deletion and addition), Weblate will treat it as a *new* file and clear any translation data that isn't directly in the translation files.
Meaning if you had 5000 translation suggestions, well, you *had* them.

Asking Weblate care about it, this is seemingly “normal”. They added documentation describing the issue.

A comment on another issue suggests that this isn't supposed to happen: https://github.com/WeblateOrg/weblate/issues/7691#issuecomment-1137504551

### I already tried

- [X] I've read and searched [the documentation](https://docs.weblate.org/).
- [X] I've searched for similar issues in this repository.

### Steps to reproduce the behavior

_No response_

### Expected behavior

Suggestions:
- Weblate could lock the component if a translation file has been “deleted”.
- Weblate could keep the memory, inform you about it and link you to the relevant documentation page.

### Screenshots

_No response_

### Exception traceback

_No response_

### How do you run Weblate?

weblate.org service

### Weblate versions

Weblate 4.16.2-dev

### Weblate deploy checks

_No response_

### Additional context

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.