Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Where is the ARB schema officially published? #81

Open
timwhitlock opened this issue Feb 18, 2025 · 6 comments
Open

Question: Where is the ARB schema officially published? #81

timwhitlock opened this issue Feb 18, 2025 · 6 comments

Comments

@timwhitlock
Copy link

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.

@mosuem
Copy link
Collaborator

mosuem commented Feb 18, 2025

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.

@timwhitlock
Copy link
Author

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.

@mosuem
Copy link
Collaborator

mosuem commented Feb 18, 2025

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.

@benthillerkus
Copy link

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

@mosuem
Copy link
Collaborator

mosuem commented Feb 21, 2025

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
Copy link
Collaborator

mosuem commented Feb 21, 2025

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 SchemaStore/schemastore#4475

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants