2010-08-15 10:58:52 +02:00
|
|
|
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
|
2010-08-19 17:02:14 +02:00
|
|
|
When i click on "templates.fr", i get the po.file instead of html.
|
|
|
|
|
2010-09-07 19:18:24 +02:00
|
|
|
Sorry for the noise! I set "po_master_language" to fr and all was ok.
|
2010-08-30 19:42:55 +02:00
|
|
|
|
|
|
|
> 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]]
|
2010-09-04 09:39:10 +02:00
|
|
|
|
|
|
|
>> 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}],
|
2011-03-28 16:49:19 +02:00
|
|
|
|
|
|
|
>>> I've never found any `.po` file in the destination directory on
|
|
|
|
>>> any of my PO-enabled ikiwiki instances. Without more information,
|
|
|
|
>>> there's nothing I can do: the config snippet pasted above is more
|
|
|
|
>>> or less the example one and does not allow me to reproduce the
|
|
|
|
>>> bug. --[[intrigeri]]
|
2011-04-10 01:22:27 +02:00
|
|
|
|
|
|
|
>>>> I think it's best to close this as unreproducible. [[done]] --[[Joey]]
|