]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/bugs/po:_po_files_instead_of_html_files.mdwn
(no commit message)
[ikiwiki.git] / doc / bugs / po:_po_files_instead_of_html_files.mdwn
index 933e348c40d0333de1d43e2e5edbb78c976240b6..d893c71d9b2c7234e5203d8b368fd3cc677b3338 100644 (file)
@@ -4,3 +4,19 @@ Links: index index.fr templates templates.fr
 When i click on "templates.fr", i get the po.file instead of html.  
    
     Sorry for the noise! I set "po_master_language" to fr and all was ok. [[done]].
+
+> Any chance you could be a bit more verbose about what the
+> misconfiguration was? I don't think the po plugin should behave like that
+> in any configuration. Unless, perhaps, it was just not configured to
+> support any languages at all, and so the po file was treated as a raw
+> file. --[[Joey]] 
+  
+>> I can reproduce the bug with:  
+       # po plugin  
+       # master language (non-PO files)  
+       po_master_language => {  
+         code => 'en',  
+         name => 'English'  
+       },  
+       # slave languages (PO files)  
+       po_slave_languages => [qw{fr|Français}],