-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Area: File format supportIssues related to file formats implemented in Weblate.Issues related to file formats implemented in Weblate.Area: Quality checksWaiting for: DemandLow priority for development. Pull requests welcome. Can be prioritized by sponsorship.Low priority for development. Pull requests welcome. Can be prioritized by sponsorship.
Description
Describe the problem
Some formats (at least ARB) provide type hints for ICU Message Format externally. There is currently no way for Weblate to understand this.
"loadCountMoreParticipants": "{count, plural, one{Загрузить еще одного участника} few{Загрузить еще # участников} other{Загрузить еще # участников}}",
"@loadCountMoreParticipants": {
"type": "String",
"placeholders": {
"count": {
"type": "int"
}
}
},
Solution brainstorm
- Introduce flag like
icu-format-hint:placeholder:type:other-placeholder:other-typeand let the ICU typing check get types from here if present - Extend the ARB parser to emit these flags for the ARB placeholder annotations
Describe alternatives you have considered
No response
Screenshots
No response
Additional context
Metadata
Metadata
Assignees
Labels
Area: File format supportIssues related to file formats implemented in Weblate.Issues related to file formats implemented in Weblate.Area: Quality checksWaiting for: DemandLow priority for development. Pull requests welcome. Can be prioritized by sponsorship.Low priority for development. Pull requests welcome. Can be prioritized by sponsorship.