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