]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/po:_po_files_instead_of_html_files.mdwn
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
[ikiwiki.git] / doc / bugs / po:_po_files_instead_of_html_files.mdwn
1 On the home page of my wiki, when i click on the link "ikiwiki", i get the english file instead of the french file.  
2 At the bottom of this page, there is the "Links" line:  
3 Links: index index.fr templates templates.fr  
4 When i click on "templates.fr", i get the po.file instead of html.  
5    
6     Sorry for the noise! I set "po_master_language" to fr and all was ok.
7
8 > Any chance you could be a bit more verbose about what the
9 > misconfiguration was? I don't think the po plugin should behave like that
10 > in any configuration. Unless, perhaps, it was just not configured to
11 > support any languages at all, and so the po file was treated as a raw
12 > file. --[[Joey]] 
13   
14 >> I can reproduce the bug with:  
15         # po plugin  
16         # master language (non-PO files)  
17         po_master_language => {  
18           code => 'en',  
19           name => 'English'  
20         },  
21         # slave languages (PO files)  
22         po_slave_languages => [qw{fr|Français}],