WeblateOrg / WeblateOrg/weblate

Enable useful component checks in glossaries

Open
#21,562 1 comment 0 reactions 0 assignees View on GitHub
Area: Quality checks dependencies Waiting for: Demand
Dominant language
Python
Stars
6.1k
Forks
1.4k
Avg merge
9h 53m
Merged PRs (30d)
395

Description

### Describe the problem

Formatting issues in glossary terms such as missing ellipsis, starting and trailing spaces/newlines etc. are not detected because the checks only apply to the _translated strings_ or _source strings_ scope but not the _glossary strings_ scope.

### Solution brainstorm

Identify which checks also "make sense" in glossaries and expand their scope to include glossary strings.

### Describe alternatives you have considered

- A "use all string checks" checkbox in the glossary section of the basic component that enables the same checks as in a normal component: yet another setting to decide on, and can lead to useless checks being enabled

### Screenshots

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by locating the glossary strings scope and the existing component string checks. Identify which formatting checks apply to glossary terms without enabling irrelevant checks; done means useful checks detect issues such as missing ellipses or surrounding whitespace in glossary strings.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
localization
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.