[Pmwiki-users] can i get a "live" sidebar? / conversion script
Knut Alboldt
pmwiki
Mon Oct 25 13:21:11 CDT 2004
At 20:32 15.10.2004, Pm wrote:
>All that remains now is to come up with a good set of $Conditions.
What's about having one to query the "locale"-settings so you can setup
text of one page for different languages ?
something like:
$Conditions['locale'] = "setlocale(LC_ALL,NULL)==$condparm";
(have to test that !)
for using:
(:if locale en_US:)american text goes here
(:if locale de_DE:)hier ist deutscher Text
(:if locale fr_FR:)cette est francaise
etc.
(:if:)
where can I get the valid return-values for the setlocale-call ?
Knut
More information about the pmwiki-users
mailing list