-
Notifications
You must be signed in to change notification settings - Fork 63
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
base direction considerations [I18N] #643
Comments
We have included new text into the Editors' Draft that is based on string-meta section 4.5 Script subtags:
We chose this approach, as we are partially prevented to use metadata: no direction support in JSON-LD. I will add the "health warning" and reference to string-meta. I hope your other two bullet points are covered by the text cited above. |
Added health warning and reference to string-meta (for issue #643)
I added a Note in section 6.3.10 Human-Readable Metadata to give a health warning with a reference to string-meta. |
I added the following Note in 5.3.1.1 Thing to address the issues with bidirectional text:
|
Feedback from i18n is that we should use "first-strong" as a fallback rather than assuming LTR. I will update that assertion (the case of no language information) to say that upon their recommendation). |
Propose to close this issue. The guideline for handling the basic text direction in a TD instance is clearly described in the specification. @aphillips Please let us know if there is something missing. |
Thanks for the updates. I18N reviewed this in our teleconference of 2019-09-26. A few comments:
|
Note: JSON-LD's resolution to add @dir can be found here: w3c/json-ld-syntax#11. This is not a blocker for CR, but might affect your text during the CR period (notably the NOTE in 6.3.2 and possibly instructions on handling the new attribute in the @context and in string literals). |
Some pointers in the JSON-LD 1.1 specification:
None of the two solutions is perfect, and it is up to the RDF community to see which one would stick (if any). But the solution is clean on the JSON-LD 1.1 level. It is probably a good idea for WoT to align with this. |
Thing Description supports the I have the feeling that we cannot harmonize this for TD 1.1. However, we should reconsider this when we define TD 2.0. |
close this issue as there is new review on TD 1.1 from the I18N group. Also see |
(general)
https://cdn.staticaly.com/gh/w3c/wot-thing-description/TD-TAG-review/index.html?env=dev
As discussed in the teleconference, no reference is made to support for bidirectional text values. The I18N WG has recently published a document (string-meta) and has had a number of issues open against other WGs as well as TAG regarding the problem of identifying and conveying the base direction of text in data formats, such as those based on JSON-LD, schema.org, RDF, and so forth.
We do not have a general purpose solution to offer currently. Because your spec is only "notionally" conformant to some of the aforementioned standards, you might be free to adopt some of the suggested designs (notably the
Localizable
pattern) in our draft. However, that's probably not a good idea, given that standardization work in this area in the (hopefully near term) future might go in a different direction and leave your implementers orphaned. In any case, this is an important problem. We would suggest:The text was updated successfully, but these errors were encountered: