Move language reading direction definition ("dir") from main language file to core.
Separate list of the supported languages and list of right-to-left languages.
Remove unnecessary quotes to save some bytes.
Minor fix in code-style, improved doc string.
Changelog entry.
Merge branch 't/10368'