musescore / musescore/MuseScore
New Score dialog: template categories and titles are displayed untranslated
@cbjeukendrup is already working on this.
Since Dec 6, 2022.
- Dominant language
- C++
- Stars
- 15.1k
- Forks
- 3.3k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 91
Description
Describe the bug
On the Templates page of the New Score dialog, the categories and titles of the templates are displayed untranslated.
Additional context
This will be a bit tricky to solve, since the names of the categories come from a json file (share/templates/categories.json) and the titles come directly from the content of the mscx files, so both are not in the code. That means that they can't be extracted to make them translatable.
So, either we need to extract them automatically into a (fake) code file, or do it manually (so that we can extract the strings from that code file). Doing it automatically is difficult (involves reading mscx files), and doing it manually is cumbersome too (prone to human errors). So I'm not sure what to choose.
This problem has been known and re-forgotten a few times, so I thought let's open an issue for it so that we don't miss it again.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.