WeblateOrg / WeblateOrg/weblate
Optional quality check for title-case mismatch
- Dominant language
- Python
- Stars
- 6.1k
- Forks
- 1.4k
- Avg merge
- 9h 53m
- Merged PRs (30d)
- 395
Description
### Describe the problem
When translating interface labels or names, it can be difficult to notice that the source string uses title case while the translation uses fewer capitalized words.
For example, the source string:
Same Game
may be translated as:
Саме гра
If the translation should be a title or a UI label, the translator may want to use:
Саме Гра
Currently, this difference can be easy to miss during translation and review.
### Solution brainstorm
Please add an optional quality check for possible title-case mismatches between the source string and its translation.
The check could show a warning when the source contains multiple capitalized words but the translation contains fewer capitalized words.
Example warning:
The source string contains multiple capitalized words, but the translation uses fewer capitalized words. Please verify whether this is intentional.
This should only be a warning, not an automatic correction. Translators should be able to ignore it because capitalization rules differ between languages.
It would be useful if the check could be enabled or disabled per project, component, or language to avoid false positives.
### Describe alternatives you have considered
_No response_
### Screenshots
_No response_
### Additional context
_No response_
Contributor guide
Research direction
No file, test, or entry point is named in the issue. First locate the existing translation quality-check system and its project, component, and language settings; done means an optional warning detects fewer capitalized words in the translation without changing text and can be disabled at those scopes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- internationalization, localization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100