(no commit message)
authorhttps://www.google.com/accounts/o8/id?id=AItOawnZ0g2UAijV7RGrKtWPljCCAYHBJ3pwPvM <Meng@web>
Tue, 20 Dec 2011 04:55:00 +0000 (00:55 -0400)
committeradmin <admin@branchable.com>
Tue, 20 Dec 2011 04:55:00 +0000 (00:55 -0400)
doc/forum/How_to_configure_po_plugin__63__.mdwn [new file with mode: 0644]

diff --git a/doc/forum/How_to_configure_po_plugin__63__.mdwn b/doc/forum/How_to_configure_po_plugin__63__.mdwn
new file mode 100644 (file)
index 0000000..a03358d
--- /dev/null
@@ -0,0 +1,21 @@
+I put 
+
+    # po plugin
+    po_master_language => 'en|English',
+
+    po_slave_languages => [ 'zh|Chinese']
+
+
+in page.setup. And did 
+  
+    $ikiwiki --setup ./page.setup
+
+but get errors:
+
+    Can't use string ("en|English") as a HASH ref while "strict refs" in use at /usr/share/perl5/IkiWiki/Plugin/po.pm line 162.
+
+Line 162 of the file reads
+
+   delete $config{po_slave_languages}{$config{po_master_language}{code}};;
+
+What's wrong? How to fix it?