aboutsummaryrefslogtreecommitdiff
path: root/doc/forum/How_to_configure_po_plugin__63__.mdwn
blob: a03358ddd6ba51a7ffbe0410b84485f1cbc51de4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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?