WeblateOrg / WeblateOrg/weblate
Make URLs replaceable with their counterparts in the translated language
- Dominant language
- Python
- Stars
- 6.1k
- Forks
- 1.4k
- Avg merge
- 9h 53m
- Merged PRs (30d)
- 395
Description
Some sites have translated content versions available through different URLs. It is quite time-consuming to copy the URLs from the source, paste it into a browser, search for a translation option and then paste its "translated URL" into the translated text.
Example: https://en.wikipedia.org/wiki/POSIX -> https://pt.wikipedia.org/wiki/POSIX
But: https://en.wikipedia.org/wiki/Application_binary_interface -> https://pt.wikipedia.org/wiki/Interface_binária_de_aplicação
So by no means it is sufficient to simply replace parts of the URL.
I suggest a phased approach, each of them adding value for the translator:
- make untranslated URLs easily available,
- make entering "translated URLs" easily available,
- automatize opening them in a browser
- try to switch the language on the target site. This could be a hard step and therefore possibly implemented for prominent pages like Wikipedia or f-droid.org as plugins.
- replace the source URL with the "translated URL" in the target text upon confirmation.
Contributor guide
Assessment
This issue has not been assessed yet.