]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/bugs/po:_po_files_instead_of_html_files.mdwn
Removing tag done as it seems to need some more care.
[ikiwiki.git] / doc / bugs / po:_po_files_instead_of_html_files.mdwn
index 4b08c7c70a24ec68299ca5a269866dd3e2c5a49b..8238f50dfdf9f722f43fc9209aad94d35c0999e1 100644 (file)
@@ -1,4 +1,22 @@
 On the home page of my wiki, when i click on the link "ikiwiki", i get the english file instead of the french file.  
 At the bottom of this page, there is the "Links" line:  
 Links: index index.fr templates templates.fr  
-When i click on "templates.fr", i get the po.file instead of html.
+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.
+
+> 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}],