[i18n-activity] [WoT Profile] Mismatch with MUST clause and examples (#1665)

himorin has just created a new issue for https://github.com/w3c/i18n-activity:

== [WoT Profile] Mismatch with MUST clause and examples ==
## Proposed comment

8. Default Language
https://www.w3.org/TR/2023/WD-wot-profile-20230118/#sec-default-language

> One Map contained in an @context Array MUST contain a name-value pair that defines the default language for the Thing Description, where the name is the Term @language and the value is a well-formed language tag as defined by [BCP47] (e.g., en, de-AT, gsw-CH, zh-Hans, zh-Hant-HK, sl-nedis).

1. This section has MUST clause to include default language in `@context` array, but examples in this spec (e.g. [example 1](https://www.w3.org/TR/2023/WD-wot-profile-20230118/#example-1), [example 2](https://www.w3.org/TR/2023/WD-wot-profile-20230118/#example-2), [example 4](https://www.w3.org/TR/2023/WD-wot-profile-20230118/#example-4)) do not have such.
2. In [6.3.2 Human-Readable Metadata in WoT Things Description](https://www.w3.org/TR/wot-thing-description/#titles-descriptions-serialization-json), handling of language is discussed in detail and fallback is also defined (like quoted below). This section seems not to be consisted with these.

> When metadata such as @direction is not present, TD Consumers SHOULD use[ first-strong detection](https://www.w3.org/TR/i18n-glossary/#dfn-first-strong-detection) as a fallback. For the MultiLanguage [Map](https://www.w3.org/TR/wot-thing-description/#dfn-map), TD Consumers MAY infer the [base direction](https://www.w3.org/TR/i18n-glossary/#def_base_direction) from the language tag of the individual strings.

## Instructions: 

This follows the process at https://w3c.github.io/i18n-activity/guidelines/review-instructions.html

1. Create the review comment you want to propose by replacing the prompts above these instructions, but **LEAVE ALL THE INSTRUCTIONS INTACT** 

3. **Add one or more t:... labels. These should use ids from specdev establish a link to that doc.**

2. Set a label to identify the spec: this starts with s: followed by the spec's short name. If you are unable to do that, ask a W3C staff contact to help.

4. Ask the i18n WG to review your comment.

5. After discussion with the i18n WG, raise an issue in the repository of the WG that owns the spec. Use the text above these instructions as the starting point for that comment, but add any suggestions that arose from the i18n WG. In the other WG's repo, add an 'i18n-needs-resolution' label to the new issue. If you think any of the participants in layout requirements task force groups would be interested in following the discussion, add also the appropriate i18n-\*lreq label(s).

6. Delete the text below that says 'url_for_the_issue_raised', then add in its place the URL for the issue you raised in the other WG's repository. Do NOT remove the initial '§ '. Do NOT use \[...](...) notation – you need to delete the placeholder, then paste the URL.

7. Remove the 'pending' label, and add a 'needs-resolution' tag to this tracker issue. 

8. If you added an \*lreq label, add the label 'spec-type-issue', add the corresponding language label, and a label to indicate the relevant typographic feature(s), eg. 'i:line_breaking'. The latter represent categories related to the Language Enablement Index, and all start with i:.

9. Edit this issue to **REMOVE ALL THE INSTRUCTIONS & THE PROPOSED COMMENT**, ie. the line below that is '---' and all the text before it to the very start of the issue.

---


**This is a tracker issue.** Only discuss things here if they are i18n WG internal meta-discussions about the issue. **Contribute to the actual discussion at the following link:**


§ url_for_the_issue_raised


Please view or discuss this issue at https://github.com/w3c/i18n-activity/issues/1665 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 1 March 2023 15:43:26 UTC