-
Notifications
You must be signed in to change notification settings - Fork 57
Simplify language assignment? #755
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
Comments
Hrm. I think this is a bug in the JSON-LD algorithm. The spec is clearer in the language map definition that it must be a node object, not a string. |
And reply from @gkellogg:
So we could do this in 3.0 ( |
Hmm... note digitalbazaar/jsonld.js#151 (comment)
There is an "undefined" language key though: UND |
NB ... the PHP issue was resolved in 7.1, opening the door for the preferable, round-trippable Propose that for 3.0 we should go ahead with this revised pattern for i18n. |
Dear IIIFers ... please can you 👍 this proposal: |
Discussion 08/30: Everyone likes the pattern, and assuming that everything goes well with standardization and implementations of it, we'll adopt it. |
Discussion at Getty AV:
|
👍 agreed at Toronto WG meeting. Consensus was that the regularity and promotion of internationalization outweigh concerns over slight increase in complexity for simple case. It was noted that the 3.0 spec should change the example to make clear why one would have two values for one language (current example lists "and a second description" for the second value). It should also be noted that use of |
Closed by #1298. |
Although it's not clear from the specification, it turns out that language containers are handled correctly when they're just strings with no language associated:
Works at the same time as:
However multiple are not. This fails:
And has to be, instead:
This seems like an improvement over the lists of @language/@value pairs?
The text was updated successfully, but these errors were encountered: