WeblateOrg / WeblateOrg/weblate

Allow editing the key of a translation unit/source string

Open
#10,304 12 comments 8 reactions 0 assignees View on GitHub
enhancement Waiting for: Implementation
Dominant language
Python
Stars
6.1k
Forks
1.4k
Avg merge
9h 53m
Merged PRs (30d)
395

Description

### Describe the problem

I wish to change the key of a source string. This is easily done in my source files ("Find & replace"), but how can I reflect that change in Weblate? I can add and remove source strings in Weblate, but I cannot rename/change the key of a source string

### Describe the solution you'd like

A new menu item "change key":
![image](https://github.com/WeblateOrg/weblate/assets/2863198/ba484643-34dd-4a9c-8d60-34c5703d68de)

or make the "Key" field of the source string editable:
![image](https://github.com/WeblateOrg/weblate/assets/2863198/d2aa720e-516b-4082-9052-f289561869c4)

### Describe alternatives you've considered

I could create a new string in the Weblate UI, but I would then have to update all translations manually and then remove the old string manually.
I could also re-upload all source files after renaming the key, but this would be a lot of work for many languages and it could mess with the History or Labels of the translations

### Screenshots

_No response_

### Additional context

I created my components by manually uploading the translation source files. I am not using GitHub or similar integrations.

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.