MaxSizeCheck trigger on source strings
Describe the issue
The maximum size of translation check behaves differently when working on source strings compared to the other languages:
- The rendered image does (often) not update after saving the new text
- The max size check is always shown as green regardless if the length has been exceeded or not
I already tried
- [x] I've read and searched the documentation.
- [x] I've searched for similar filed issues in this repository.
Steps to reproduce the behavior
- Setup font group in project
- Setup maximum size of translation check flags (
font-family:,font-size:andmax-size:) on a unit - Edit source string
Expected behavior
- The rendered image is of the saved text
- The check is showing failed in the UI (red alert instead of green check mark).
Screenshots
(above screenshot is after changing ONAAAAA to LOOONG and clicking "Save and stay".)
Exception traceback
How do you run Weblate?
Docker container
Weblate versions
Version 5.10.4 with official Weblate container image 5.10.4.0
Weblate deploy checks
Additional context
This is most noticeable when working with a intermediate language file.
It is not supposed to be shown on source strings, as the check is not triggered on the source strings (what causes the rendering not to be updated on string change).
Not showing the rendering on the source string would be the original intention, but I think it could be triggered on the translations as well what would address all those issues you observe.
Thanks for the quick response. Can confirm, changing a translation also updates the source string's image. 😵
Would be great if MaxSizeCheck could be made to work for the source string, because having a intermediate language file means translators also touch the base language file as a source string.
Longer term, in my view, all translation checks should become available/active/dismiss-able for the base language when using a intermediate language file...
Most of the translation checks are based on the source string content (format strings, punctuation, markup), so these might be problematic depending on how good the developer language is.
Anyway for the rendering check, it makes sense to use it for the source strings as well.
I would be very glad to have this issue fixed. In my opinion it's an issue because when translating from intermediate language to English, this check should be active. PS: How can I note my demand? Just with this comment?
Using reactions on the issue so that it shows in https://github.com/WeblateOrg/weblate/issues?q=is%3Aissue%20state%3Aopen%20sort%3Areactions-desc helps us to see the demand. Developing the fix or funding development is another option.
Thank you for your report — the issue has now been resolved.
The fix has been merged into the repository and will be included in the upcoming Weblate 2026.7 release.
- If you encounter any issues with the fix, please comment in this thread.
- If you experience a similar but separate issue, open a new report so we can track it properly.
- If you find Weblate helpful, consider supporting its development.