admin-shell-io / aas-specs

Repository of the Asset Administration Shell Specification IDTA-01001 - Metamodel
https://admin-shell-io.github.io/aas-specs-antora/index/home/index.html
Creative Commons Attribution 4.0 International
50 stars 27 forks source link

Clarification Request Regarding Language Tags Constraints #293

Open zrgt opened 1 year ago

zrgt commented 1 year ago

In Specification Part 1, there is information regarding language tags as follows: "RDF requires IETF BCP 47[20] language tags. Simple two-letter language tags for locales like "de" conformant to ISO 639-1 are allowed, as well as language tags plus extension like "de-DE" for country code, dialect, etc. like in "en-US" for English (United States) or "en-GB" for English (United Kingdom). IETF language tags are referencing ISO 639, ISO 3166 and ISO 15924."

Could you please provide more specific details about these requirements? Have I understood correctly that language tags must adhere to the IETF BCP 47 standard with certain restrictions? Are these restrictions as follows:

If this is the case, could you please formalize an AASd-Constraint that outlines the limitations of language tags in AAS?

BirgitBoss commented 10 months ago

Discussion in Workstream Specifications AAS:

https://www.rfc-editor.org/rfc/rfc5646, extract:

 langtag       = language
                 ["-" script]
                 ["-" region]
                 *("-" variant)
                 *("-" extension)
                 ["-" privateuse]

There is a constraint requesting English Language: Constraint AASc-002: Data¬Specification¬IEC61360-/preferredName shall be provided at least in English

In this case we recommend/request alternative 1: "en" alternative 2: "en*" (i.e. en-US, en-xxx-US etc.), i.e. start with "en" alternative 3: Constraint sufficient as it is

Decision:

BirgitBoss commented 8 months ago

Bugfix: Constraint AASc-002 shall be renamed to Constraint AASc-3a-002 to be consistent wiht other constraints in document.