mattcg / language-subtag-registry Goto Github PK
View Code? Open in Web Editor NEWBCP 47/IANA language subtag data in JSON format.
License: Other
BCP 47/IANA language subtag data in JSON format.
License: Other
While I cannot cite chapter and verse of the spec for the particular flavor of record-jar format used (because that link hangs and times out on me)-:, it is apparent from reading the official repository file itself that a line that begins with two spaces is a “continuation line”, i.e. a continuation of the previous line.
I do not know whether the intended use is that
But in this particular file both algorithms will achieve the same result, as all lines that start with a blank start with two blanks.
This is actually an important parsing distinction to make, so as to avoid considering something like “Interlingua (International Auxiliary Language Association)” as two separate Description s, or “Minnan, Hokkien, Amoy, Taiwanese, Southern Min, Southern Fujian, Hoklo, Southern Fukien, Ho-lo” as two separate Comment s.
P.S. This came up while writing a program to convert your JSON to XML. Even if you cannot generate a single string for these, if you keep the two initial blanks (rather than discard them, which is what currently happens), I could execute the logic necessary to combine the appropriate adjacent Description s or Comment s in the XSLT. I should have that program (which gives you credit, of course) up on GitHub any day now.
Hey Matthew!
Thank you for the package 🐨
We want to use it in our projects as a transitive dependency coming from eslint-plugin-jsx-a11y:
But it is not possible due to ODC-By-1.0 license. It is kind of hard to make sure that this license works in our country, so we're a bit scared and can't use this package. Especially because ODC-By-1.0 is not marked as FSF Free by SPDX.
Is it possible to relicense it with MIT?
Just wondering why ODC-By-1.0
was chosen over MIT
.
Hi!
I would like to suggest a very minor enhancement. Consider this when you get a chance :)
I noticed that this package uses the ODC-BY
license in the licenses
field of package.json
. This is a fine choice. However, the officially registered SPDX license id is ODC-By-1.0
. See https://spdx.org/licenses/. The reason why it is generally helpful to use an officially registered SPDX license id is that those of us who use an automated license checker (e.g., https://www.npmjs.com/package/license-checker) can automatically process this package without further whitelisting.
Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.