[pmwiki-users] 2.2 ToDo: W3C validate default skin
Patrick R. Michaud
pmichaud at pobox.com
Fri Nov 16 00:21:37 CST 2007
On Fri, Nov 16, 2007 at 08:10:52AM +0200, Athan Dimoy wrote:
> "Patrick R. Michaud" <pmichaud at pobox.com> wrote in message
> news:20071116043839.GA14187 at host.pmichaud.com...
> > Are the xml:lang= and lang= attributes required? If so, where
> > should we get them from?
> One idea is getting the value from $lang (XL functions). In that case you
> might have to add 'en' as default if XLPage is not used.
Yes, but XLPage currently doesn't require that the first parameter
be a valid ISO language specifier. And it might make more sense
if the translation strings in XLPage actually provided the lang
attribute to use (same as how we let XLPages specify character
encoding and time format).
More information about the pmwiki-users