WeblateOrg / WeblateOrg/weblate

Cross strings referencing

Open
#6,902 3 comments 0 reactions 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 problem

Nowadays when I'm translating a string that has references to other strings I need to search for this string manually.

So, a string such as:
`Click Settings -> Complex font rendering` will require the translator to search for the string of the menu item and coordinate the translation, if there's a single string it's fine but if there are several menu items for example it's a lot of research for some strings which I can't currently remember.

### Describe the solution you'd like

Adding some cross references on the right menu and maybe even having the ability to link certain words to another string.

Cross referencing could be inside the same project and possibly even have an option for a general URL in case this string is hosted on a different TM or directly to the source code line where the referenced term exists.

### Describe alternatives you've considered

Searching manually for the string in question

### Screenshots

_No response_

### Additional context

I think that it could be awesome to have this as an option that is being supported by Gettext but I'm not sure it would be easy enough to implement because it will require some fundemental changes to the code to work (Having some cross referenced comments where the strings are not anchored could be really tricky), on the other hand in XLIFF and Android it can be easily reflected back to the localization original file because all the strings have IDs.

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.