add spec dependency
[ikiwiki] / 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}],  
23
24 >>> I've never found any `.po` file in the destination directory on
25 >>> any of my PO-enabled ikiwiki instances. Without more information,
26 >>> there's nothing I can do: the config snippet pasted above is more
27 >>> or less the example one and does not allow me to reproduce the
28 >>> bug. --[[intrigeri]]
29
30 >>>> I think it's best to close this as unreproducible. [[done]] --[[Joey]]