aboutsummaryrefslogtreecommitdiff
path: root/doc/todo/expose_html_language_and_direction.mdwn
blob: f321e4f5299bddab3e2649bb84246326710c068f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[[!template  id=gitbranch branch=mhameed/html_lang_and_dir author="[[mhameed]]"]]
[[!tag wishlist]]

When a wiki is translatable, it would be nice to have the language code and the direction of the text exposed as template variables.
This means:

1. Better rendering for rtl languages.
2. Content can correctly be tagged with the language code, to enable screenreaders and other accessibility providers to render/speak the text in the correct language.

The [[patch]] is currently being used on http://addons.nvda-project.org and seems to work well. --[[mhameed]]

> I don't have commit access, but it [[seems reasonable|/users/smcv/yesplease]].
> --[[smcv]]

>> [[done]]] --[[Joey]]