aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2010-07-29 16:18:59 +0200
committerintrigeri <intrigeri@boum.org>2010-07-29 16:18:59 +0200
commit927558ee444a12774c579bc6acf76f8e040c5229 (patch)
treedab2ca1b0bae786bb441c2c1eda3d7d71563ea83
parent4bc3839df8fa47affc114a37ce862e3171d3e922 (diff)
downloadikiwiki-927558ee444a12774c579bc6acf76f8e040c5229.tar
ikiwiki-927558ee444a12774c579bc6acf76f8e040c5229.tar.gz
found the root cause of the "bug"
-rw-r--r--doc/plugins/po.mdwn20
1 files changed, 18 insertions, 2 deletions
diff --git a/doc/plugins/po.mdwn b/doc/plugins/po.mdwn
index 6377a11be..ab096b2ac 100644
--- a/doc/plugins/po.mdwn
+++ b/doc/plugins/po.mdwn
@@ -269,8 +269,8 @@ default when locking pages.) --[[Joey]]
> language, and the ones that should not. The only solution I can see
> to this surprising behaviour is: documentation. --[[intrigeri]]
-Edit links on some slave pages
-------------------------------
+l10n wiki misconfiguration
+--------------------------
If a page is not translated yet, the "translated" version of it
displays wikilinks to other, existing (but not yet translated?)
@@ -309,6 +309,22 @@ underlay, and the underlays lack translation to a given language.
>>> that do not exhibit this bug. An underlay linking to another might
>>> be necessary to reproduce it. Going to dig deeper. --[[intrigeri]]
+>>>> After a few hours lost in the Perl debugger, I think I have found
+>>>> the root cause of the problem: in l10n wiki's configured
+>>>> `underlaydir`, the basewiki is present in every slave language
+>>>> that is enabled for this wiki *but* Swedish. With such a
+>>>> configuration, the `ikiwiki/wikilink` page indeed does not exist
+>>>> in Swedish language: no `ikiwiki/wikilink.sv.po` can be found
+>>>> where ikiwiki is looking. Have a look to
+>>>> <http://l10n.ikiwiki.info/ikiwiki/>, the basewiki is not
+>>>> available in Swedish language on this wiki. So this is not a po
+>>>> bug, but a configuration or directories layout issue. This is
+>>>> solved by adding the Swedish basewiki to the underlay dir, which
+>>>> is I guess not a possibility in the l10n wiki context. I guess
+>>>> this could be solved by adding `SRCDIR/basewiki` as an underlay
+>>>> to your l10n wiki configuration, possibly using the
+>>>> `add_underlays` configuration directive. --[[intrigeri]]
+
Double commits of po files
--------------------------