WeblateOrg / WeblateOrg/weblate
Support Inlang Message Format
- Dominant language
- Python
- Stars
- 6.1k
- Forks
- 1.4k
- Avg merge
- 9h 53m
- Merged PRs (30d)
- 395
Description
### Describe the problem
Using the Inlang Message Format with variants and gendering, results in Weblate misunderstanding what strings are meant for translating (as they veer off the json key-value structure of basic translations).
### Describe the solution you would like
Support for the Inlang Message Format: https://inlang.com/m/reootnfj/plugin-inlang-messageFormat
### Describe alternatives you have considered
_No response_
### Screenshots
The following translation does not work well with Weblate:
```
"going_count": [
{
"declarations": [
"input count",
"local countPlural = count: plural"
],
"selectors": [
"countPlural"
],
"match": {
"self_going=*, count=0": "No one going",
"self_going=true, countPlural=*": "{count} going",
"self_going=false, countPlural=one": "{count} other going",
"self_going=false, countPlural=other": "{count} others going"
}
}
]
```
For reference, it results in the following (to be expected):

### Additional context
Related translate-toolkit issue: https://github.com/translate/translate/issues/5559
Contributor guide
Assessment
This issue has not been assessed yet.