[pmwiki-users] MultiLanguage --- again (setting default language)
celok at gmx.net
Mon Feb 5 11:13:51 CST 2007
Am 05.02.2007 um 16:16 schrieb blues:
> On Mon, 05 Feb 2007 16:28:31 +0200, Tom Lederer <celok at gmx.net> wrote:
>> 1. i still somewhat desperatly search for a way to define the default
>> language of a site in a fashion that if there is no (:if userlang
>> XX:) is in a page, it is clear to the script that the page is in my
>> default language (German for me). I noticed that (:if userlang XX:)
>> in SideBar, GroupHeader, etc... do have no effect.
> the fact here (that others also misunderstand) is that a text that is
> not included in a (:if:) branch does NOT mean that it is in the
> consider the following (your default language is german):
> (:if userlang en:)
> text in english
> (:if userlang de:)
> text in german
> text for ALL languages
> as you see the text that is outside the (:if:) branches is NOT
> the default language but displayed for ALL languages.
Thanks for the answer...
Isn't that "unnatural"? I would assume that every page has a certain
default language, that would serve as fallback. However. If it is
that way, then that's the way it is ;)
Thanks for clearing it though.
More information about the pmwiki-users