[pmwiki-users] Multi language issue
lists at basel-inside.ch
lists at basel-inside.ch
Fri Jun 27 03:30:39 CDT 2014
Hello
I made another try, and now it's o.k. I found out, that the usage of
plugin and my logic was correct.
I had an error in my english language template, which produced strange
results,
Often time helps und brings solutions, sorry
thanks a lot
regards
Patrick Ogay
Zitat von lists at basel-inside.ch:
> Site: http://orientalcarpetstudio.com.jovinus-meta.net/ (lang links D E)
>
> require_once("$FarmD/cookbook/langviews.php"); /* ?setlang=xy */
> $PgLang = ucfirst($Lang);
>
> XLPage("$Lang",'PmWiki'.$PgLang.'.XLPage'); /* dyn: for all lang */
> echo ("$Lang / $PgLang".'PmWiki'.$PgLang.'.XLPage');
>
>
> The german translation works as expected:
> Now I added a englisch Page, because the index-var is not nesessaryly english
> PmWikiEn/XLPage
>
> It's very strange: when "english" (as seen in echo)
> translation of $[vars] show the german result, seems that
> PmWikiDe/XLPage is used.
> without PmWikiDe/XLPage (when i rename the page) the result are as expected.
>
>
> May I'm doing someting wrong.
> Any hint will be appreciated.
>
> kind regards
> Patrick Ogay
>
More information about the pmwiki-users
mailing list