-
-
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.Blocked by upstreamThe solution to this issue depends on a third-party project and needs to be addressed there first.The solution to this issue depends on a third-party project and needs to be addressed there first.Waiting 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.enhancementAdding or requesting a new feature.Adding or requesting a new feature.
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: translate/translate#5559
skinofstars, Jak2k and John-Hejzlar
Metadata
Metadata
Assignees
Labels
Area: File format supportIssues related to file formats implemented in Weblate.Issues related to file formats implemented in Weblate.Blocked by upstreamThe solution to this issue depends on a third-party project and needs to be addressed there first.The solution to this issue depends on a third-party project and needs to be addressed there first.Waiting 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.enhancementAdding or requesting a new feature.Adding or requesting a new feature.