Sadly, language alone isn't sufficient in some cases.
"Language is not the same thing semantically as direction: there are different parameters to its use, and the places where you need to use it are different. We have been going around this tree for years, please just trust us."
Quoting from: https://github.com/w3c/web-annotation/issues/224#issuecomment-221226477
The I18N group will (as they did in that thread for Web Annotations) require the availability of both values. It's why there is both `lang` and `dir` in Web Annotations, Web App Manifest, etc.
So. Worth reconsidering.
Cheers,
Benjamin
--
http://bigbluehat.com/
http://linkedin.com/in/benjaminyoung
________________________________
From: Hadrien Gardeur <hadrien.gardeur@feedbooks.com>
Sent: Wednesday, January 10, 2018 11:00:07 AM
To: Benjamin Young
Cc: Daniel Glazman; W3C Publishing Working Group
Subject: Re: A question on RWPM: why the 'metadata' tag?
WP infoset and Web App Manifest and HTML all use `dir` to talk about the text direction.
RWPM is using the term differently to mean page/resource progression.
It also seems that text direction is missing from RWPM (now that I know `direction` isn't that).
Correct.
Since RWPM allows alternate scripts on multiple elements (title, subtitle, contributors, series name...) this can't be for the whole manifest like in the Web App Manifest.
"title": {
"fr": "Vingt mille lieues sous les mers",
"en": "Twenty Thousand Leagues Under the Sea",
"ja": "海底二万里"
}