string-meta recommends language and direction for resource-wide metadata, but lang and dir for string-level metadata.
The reason might be those names mapping directly to HTML attributes when a consumer renders the string. But that is a convenience mapping, not a data-model requirement.
Should we use language and direction consistently for metadata fields, and use lang and dir only in markup examples?
string-meta recommends
languageanddirectionfor resource-wide metadata, butlanganddirfor string-level metadata.The reason might be those names mapping directly to HTML attributes when a consumer renders the string. But that is a convenience mapping, not a data-model requirement.
Should we use
languageanddirectionconsistently for metadata fields, and uselanganddironly in markup examples?