Brion Vibber <brion@...> writes:
Shinjiman wrote:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="XXX" lang="XXX">
The lang (and xml:lang) attribute defined at the HTML tag in some language is not correct and it's supposed to not making this value identical to $wgContLanguageCode.
Hi, Brion, how about the second idea which Shinjiman said?
"An alternative way to solve this issue is adding a new option in user's preference setting, then the lang attribute in the HTML tag can be customizable and Logged on users can change the value to meet their actual need."
We need your professional advices, thank you.
And I would like to present to you again why correct lang code is important for Chinese users and how it is complicated. Please see this screenshot:
http://img90.imageshack.us/img90/9348/zhfamily6zw.png
You may not read Chinese, but it's alright, because you can identify there are 8 lang codes and 2 fonts in the table. You may also find character structures are also different between the 2 fonts. It does be the point. To Chinese people, different character structure affects their reading. Therefore, I think making <HTML lang="XXX"> customizable is a wiser method because of the complication of Chinese.
百楽兎