diff options
author | smcv <smcv@web> | 2014-09-21 08:50:12 -0400 |
---|---|---|
committer | admin <admin@branchable.com> | 2014-09-21 08:50:12 -0400 |
commit | b5db9429dfc680b3e80c16fe3e90a31610243e2b (patch) | |
tree | ecea9e80c8f726d7d4cb051dcb0a43af4cd103e5 | |
parent | 3badc3b7c4533981e75f3bed97da4853f67e2bcd (diff) | |
download | ikiwiki-b5db9429dfc680b3e80c16fe3e90a31610243e2b.tar ikiwiki-b5db9429dfc680b3e80c16fe3e90a31610243e2b.tar.gz |
Added a comment
-rw-r--r-- | doc/forum/PO_and_RTL_support/comment_11_3dfd5aad503d913bd00f7320593ab5eb._comment | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/forum/PO_and_RTL_support/comment_11_3dfd5aad503d913bd00f7320593ab5eb._comment b/doc/forum/PO_and_RTL_support/comment_11_3dfd5aad503d913bd00f7320593ab5eb._comment new file mode 100644 index 000000000..e4cd71ea7 --- /dev/null +++ b/doc/forum/PO_and_RTL_support/comment_11_3dfd5aad503d913bd00f7320593ab5eb._comment @@ -0,0 +1,23 @@ +[[!comment format=mdwn + username="smcv" + ip="81.100.115.242" + subject="comment 11" + date="2014-09-21T12:50:11Z" + content=""" +> Yes, [a RTL meta tag] would help. But I'd need the PO plugin to +> respect this lang tag. Is this already possible? + +Do you need the po plugin at all? The po plugin is specifically for +sites that are written in a master language (usually English) and +then translated into a bunch of other languages - the same general +approach as <https://www.debian.org/> (that site does not use IkiWiki +but the idea is the same). + +If you're selecting languages in some other way - +e.g. all your content is in Arabic except that the `/programming/` +subtree is in English, or something like that - then the po +plugin is not designed for what you're doing, and adding support +for a new meta tag to the meta plugin would be a better way to +get the language code into the header. It could use the same +`TMPL_VAR` hooks in page.tmpl that po does? I'd review a patch. +"""]] |