https://www.google.com/accounts/o8/id?id=AItOawndltpDNFSfEZBR_TIcjeDQRkuuyT1e_3o 2015-03-14 16:36:37 -04:00 committed by admin
parent cbaee7ec1c
commit e3e03930ff
1 changed files with 7 additions and 5 deletions

View File

@ -726,11 +726,13 @@ I am trying to wrap my head around l10n with ikiwiki. Set up a test site, l10n i
Now when inlining a bunch of pages, no matter what inline template I use all links are
going to the master language, the slave being ignored on all levels I tried.
Trying to use currentlang() inside the inline directive - I get no pages or links to pages at all.
\[[!inline pages=\"man/* and currentlang() and !*/sidebar and !*/b and !*.*\" template=\"titlepage\" archive=\"yes\" quick=\"yes\" show=\"0\" sort=\"mtime\" reverse=\"no\"]]
Trying to use currentlang() inside the inline directive to force the current setting in ikiwiki.setup - I get **no pages or links** to pages at all.
\[[!inline pages=\"man/* and currentlang() and !*/sidebar and !*/b and !*.*\" template=\"titlepage\" archive=\"yes\" quick=\"yes\" show=\"0\" sort=\"mtime\" reverse=\"no\"]]
Turning meta title on slave translation pages on and off - no change.
Turning usedirs on and off - no change.
Turning meta title on slave translation pages on and off - **no change**.
Turning usedirs on and off - **no change**.
Testing with different inline templates - **no change**.
Can this be related to the templates used by inline not being localized?
I tried everything I could think of being the cause.
Could this be related to the templates used by inline not being localized?
Any hints wether I am currently running into some dead end with ikiwiki regarding template l10n here would be greatly appreciated.