WeblateOrg / WeblateOrg/weblate
Translation filename links are broken in some cases
- Dominant language
- Python
- Stars
- 6.1k
- Forks
- 1.4k
- Avg merge
- 9h 53m
- Merged PRs (30d)
- 395
Description
### Describe the issue
E.g. here https://hosted.weblate.org/translate/weblate/documentation/fr/ the link is https://github.com/WeblateOrg/weblate/blob/main/docs/fr/LC_MESSAGES/docs.po#L1, but the filename is correct `docs/locales/fr/LC_MESSAGES/docs.po`, so in the link the `locales` part is stripped off.
### 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
_No response_
### Screenshots

### Exception traceback
_No response_
### How do you run Weblate?
weblate.org service
### Weblate versions
_No response_
### Weblate deploy checks
_No response_
### Additional context
Where the feature was added: #7675.
I think it may be related to the fact that the source file has a different pattern from the localization files pattern.
Contributor guide
Assessment
This issue has not been assessed yet.