WebThingsIO / gateway

WebThings Gateway - a self-hosted web application for monitoring and controlling a building over the web
http://webthings.io/gateway
Mozilla Public License 2.0
2.62k stars 339 forks source link

Consider adding `@language` member to `@context` of Thing Descriptions #3089

Open benfrancis opened 1 year ago

benfrancis commented 1 year ago

The WoT Profile specification says:

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).

Consider adding a @language member to Thing Descriptions to conform with this assertion.

Alternatively, I have suggested that perhaps this assertion should be removed from the specification, see https://github.com/w3c/wot-profile/issues/373