]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/forum/How_to_configure_po_plugin__63__.mdwn
ikiwiki (3.20140916) unstable; urgency=low
[git.ikiwiki.info.git] / doc / forum / How_to_configure_po_plugin__63__.mdwn
1 I put 
3     # po plugin
4     po_master_language => 'en|English',
6     po_slave_languages => [ 'zh|Chinese']
9 in page.setup. And did 
10   
11     $ikiwiki --setup ./page.setup
13 but get errors:
15     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.
17 Line 162 of the file reads
19    delete $config{po_slave_languages}{$config{po_master_language}{code}};;
21 What's wrong? How to fix it?