[pmwiki-users] (:if:)/(:else:)/(:elseif:) (was: multilanguage redesign)
Patrick R. Michaud
pmichaud at pobox.com
Wed Feb 14 10:39:15 CST 2007
On Wed, Feb 14, 2007 at 08:43:15AM +1100, Kathryn Andersen wrote:
> On Tue, Feb 13, 2007 at 03:36:01PM -0600, Patrick R. Michaud wrote:
> > I've been thinking we might do this with (:elseif:)/(:else:) clauses,
> > as in:
> > (:if lang en:) English text
> > (:elseif lang fr:) French text
> > (:elseif lang de:) German text
> > (:else:) Default text
> > (:if:)
> Are you going to bring in the much desired "else" for general use?
> That would be great!
Perhaps something like http://www.pmwiki.org/wiki/Test/IfElseIf ?
I have a bit more testing to do with the implementation, but I think
I will likely release this capability in the next beta. At the
very least (:else:) will be available as a recipe (but I'm thinking
it may deserve to be in the core).
More information about the pmwiki-users