arb-editor icon indicating copy to clipboard operation
arb-editor copied to clipboard

Question: Where is the ARB schema officially published?

Open timwhitlock opened this issue 10 months ago • 6 comments

Sorry if this is out of scope, but is this project the canonical source for the ARB schema now? I've failed to find anything more official amoungst the Dart/Flutter documentation.

I note that the schema was originally at google/app-resource-bundle, but it seems to have diverged somewhat since the last update there in 2018.

timwhitlock avatar Feb 18 '25 10:02 timwhitlock

Very good question. Currently it is hosted here as the main source of truth. I was also thinking about re-activating https://github.com/google/app-resource-bundle to host a Dart package, a JS package etc. for parsing ARB files. I am open to any ideas or PRs!

Also any place where docs should be updated are welcome.

mosuem avatar Feb 18 '25 12:02 mosuem

Thanks for the reply!

To clarify the context of my asking - I'm not a Dart/Flutter developer. I maintain software that parses and generates ARB files. Originally I implemented the 2018 spec, and have only now caught up with the various changes.

In my research it became a point of confusion as to who maintains the spec, what versions exist, and whether it can be considered a standard in its own right (separately from its use in Flutter).

I'm not in a position to submit PRs, but I do have ideas...

It makes sense to me that the wiki in the app-resource-bundle repo remains the source of truth, especially as it's still linked to by many other projects including i18n_extension. I came across the arb-editor by some amount of luck while I was scratching my head over schema changes.

timwhitlock avatar Feb 18 '25 13:02 timwhitlock

Yeah it makes sense to reactivate that repo. I will probably delete all the code inside it though, as it is unmaintained and thus dead.

mosuem avatar Feb 18 '25 13:02 mosuem

Maybe move the schema to https://www.schemastore.org/json/? That way it's automatically picked up by lots of editors without the user even having to install an extension

benthillerkus avatar Feb 20 '25 14:02 benthillerkus

Maybe move the schema to https://www.schemastore.org/json/?

We should probably publish it there as well! I don't think we want the source of truth to be in a third party repo though, I would rather have that be in the google or dart-lang orgs, especially as we are revamping it a bit at the moment.

mosuem avatar Feb 21 '25 09:02 mosuem

Maybe move the schema to https://www.schemastore.org/json/? That way it's automatically picked up by lots of editors without the user even having to install an extension

I filed https://github.com/SchemaStore/schemastore/pull/4475

mosuem avatar Feb 21 '25 15:02 mosuem