[pmwiki-users] 2.2 ToDo: W3C validate default skin

SteP step.list+pmwiki at gmail.com
Fri Nov 16 12:48:25 CST 2007


Patrick R. Michaud wrote:

>> > 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

It's all hypothetical by now, since the validation issue doesn't need xml:lang; however, could there be a 
solution compatible with the multilanguage recipe which defines a $userlang variable and changes page 
language dynamically?





More information about the pmwiki-users mailing list