aboutsummaryrefslogtreecommitdiff
path: root/doc/todo/expose_html_language_and_direction.mdwn
blob: 65032fabfa36d8f0f801d45d87a148264a1b0b10 (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/ready]].
> --[[smcv]]

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