Details
-
New Feature
-
Resolution: Unresolved
-
Major
-
None
-
7.3-milestone-1
-
None
-
Unknown
-
Description
Since there is desire to be able to display the user interface in a different language from the page which is being viewed or edited, we should have a language field which is guaranteed to correspond to the actual page which is being viewed/edited, not the user interface.
There is currently
<html lang="xxx"
but this is based on $context.language which might be different from the document language so it would be nice to have something like
<html data-xwiki-document-locale="xxx"
and corresponding meta.js accessor so that we can have something which is reliably the language of the document itself.