Available in a git repository branch.
Branch: mhameed/html_lang_and_dir
Author: mhameed

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. --smcv

done] --Joey