Support Weblate Flags in Gettext Files via Extracted Comments #11655
Labels
enhancement
Adding or requesting a new feature.
undecided
These features might not be implemented. Can be prioritized by sponsorship.
Describe the problem
We use GNU gettext for translating strings for embedded systems, with our programmers providing human-readable cues for things like maximum character length via the extracted comments feature (example below).
For our use case, this could potentially be a far more efficient means of setting weblate-flags such as
max-length:N
than manually setting said flags via Weblate's UI. Presently, however, only certain XML based formats support storage and synchronisation of weblate-flags.Describe the solution you would like
We suggest supporting storage and synchronisation of weblate-flags within gettext's extracted comments, in a similar vain to the non-standard weblate-flags attribute supported for XLIFF.
As the extracted comments feature of GNU gettext is designed to allow programmers to provide cues to translators, this would seem the ideal means of conveying machine-readable instructions to a translation tool such as Weblate.
Example:
In the example above, weblate-flags are:
weblate-flags=
.These would seem like reasonable conventions to follow?
Describe alternatives you have considered
No response
Screenshots
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: