From: Mesar Hameed Date: Mon, 14 Oct 2013 13:33:24 +0000 (+0200) Subject: Added wishlist+possible patch, expose template variables for html language and direction. X-Git-Tag: debian/3.20140102~79^2~6 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/bd7d39ec96fb9d80d33fdff18246b063203735fe?hp=66f0c1dda383d546699d4469f464e783d531e3df Added wishlist+possible patch, expose template variables for html language and direction. --- diff --git a/doc/todo/expose_html_language_and_direction.mdwn b/doc/todo/expose_html_language_and_direction.mdwn new file mode 100644 index 000000000..c68834456 --- /dev/null +++ b/doc/todo/expose_html_language_and_direction.mdwn @@ -0,0 +1,10 @@ +[[!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]]