launchpad translations doesn't understand the flutter format (arb)
Bug #1990284 reported by
Sebastien Bacher
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
High
|
Unassigned |
Bug Description
Flutter has its own translations format (arb) which is currently not supported by launchpad
Some of our projects opted it to do their translation on weblate, example
https:/
it would be nice to have the option to use launchpad for flutter projects though
The format is described on https:/
Example of the translations files for the new installer
https:/
To post a comment you must log in.
I suspect it would be a relatively straightforward task to write an importer and exporter for this in `lib/lp/ translations/ utilities/ ` to go with the others that are already there. https:/ /pypi.org/ project/ strings2pot/ only works on Python 2 so we can't use it directly, but it might at least provide ideas (its `strings2pot/ extractors/ arb.py` is only 134 lines of code, so pretty digestible).