aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMesar Hameed <mhameed@src.gnome.org>2013-10-14 15:33:24 +0200
committerMesar Hameed <mhameed@src.gnome.org>2013-10-14 15:33:24 +0200
commitbd7d39ec96fb9d80d33fdff18246b063203735fe (patch)
treea08d6dc14ed6442b116b52b73af105b22f79fc34
parent66f0c1dda383d546699d4469f464e783d531e3df (diff)
downloadikiwiki-bd7d39ec96fb9d80d33fdff18246b063203735fe.tar
ikiwiki-bd7d39ec96fb9d80d33fdff18246b063203735fe.tar.gz
Added wishlist+possible patch, expose template variables for html language and direction.
-rw-r--r--doc/todo/expose_html_language_and_direction.mdwn10
1 files changed, 10 insertions, 0 deletions
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]]