- changed milestone to 1.40.0
-
assigned issue to
- removed version
.arb file support
ARB files are the recommended way to localize Flutter apps.
Please add .arb file support to Okapi.
Comments (5)
-
-
- changed status to open
The WHO app (https://github.com/WorldHealthOrganization/app) client is written with Flutter and while the JSON filter does a a good job with the ARB files, it doesn't support annotations.
I've assigned it to myself and will propose a PR to add this
-
Are you still planning on working on this? We have someone who is interested in contributing an ARB filter to OKAPI.
-
Hi @Nico Sallembien Yes, but short of time in the near future. However I’ve go a working filter config that works well for ARB files using the JSON filter:
okf_json@Flutter_i10n_arb.fprm
#v1 extractIsolatedStrings.b=true extractAllPairs.b=true exceptions=^(@).* useKeyAsName.b=true useFullKeyPath.b=true useLeadingSlashOnKeyPath.b=false escapeForwardSlashes.b=false useCodeFinder.b=false noteRules=.*(description|type|example|placeholders).* extractionRules= idRules= genericMetaRules=.*(description|type|example|placeholders).* codeFinderRules.count.i=1 codeFinderRules.rule0= codeFinderRules.sample= codeFinderRules.useAllRulesWhenTesting.b=true subfilter=okf_html
We use a proprietary sub-filter that @David Meikle wrote to process them and my intention was to find a way that aligns with the Okapi direction to deal with ICUs. Unfortunately I haven’t got the time for this just now.
-
- removed milestone
@Clément Mouchet , I suppose this issue will not be covered in the upcoming 1.40.0 release.
Feel free to adjust the milestone when you have a better vision for this.
- Log in to comment