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? _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
