]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/po.mdwn
%links dedup bug?
[ikiwiki.git] / doc / plugins / po.mdwn
index 98526a55aac3421425cba44a82ddeef5a9520353..a0d3e7a9322f50bf364c62699ed40ff7d357410d 100644 (file)
@@ -250,6 +250,42 @@ once [[intrigeri]]'s `meta` branch is merged.
 An integration branch, called `meta-po`, merges [[intrigeri]]'s `po`
 and `meta` branches, and thus has thise additional features.
 
+
+Language display order
+----------------------
+
+Jonas pointed out that one might want to control the order that links to
+other languages are listed, for various reasons. Currently, there is no
+order, as `po_slave_languages` is a hash. It would need to be converted
+to an array to support this. (If twere done, twere best done quickly.)
+--[[Joey]] 
+
+Re-render bug
+-------------
+
+If .ikiwiki is deleted and a wiki is rebuilt from scratch, and
+po has created po files before, something wrong happens:
+
+> joey@gnu:~/src/ikiwiki/po/html>ls -l index*
+> -rw-r--r-- 1 joey joey 1159 Jul 19 22:51 index.html
+> 
+> index.de:
+> total 4
+> -rw-r--r-- 1 joey joey 1829 Jul 19 22:51 index.html
+
+index.de/index.html contains the raw po file shoved into
+page.tmpl. I have only gotten as far as guessing it is a bug in
+`_istranslation` --[[Joey]]
+
+Duplicate %links ?
+------------------
+
+I notice code in the scan hook that seems to assume
+that %links will accumulate duplicate links for a page.
+That used to be so, but the bug was fixed. Does this mean
+that po might be replacing the only link on a page, in error? 
+--[[Joey]] 
+
 Documentation
 -------------