On Fri, Nov 16, 2007 at 08:10:52AM +0200, Athan Dimoy wrote:
> "Patrick R. Michaud" <[EMAIL PROTECTED]> wrote in message 
> news:[EMAIL PROTECTED]
> 
> > 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).

Pm

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to