Last modified: 2014-11-16 07:32:34 UTC
See https://meta.wikimedia.org/w/index.php?title=IPv6_initiative/2012_IPv6_Day_announcement/zh&variant=zh-hans&uselang=ja The language selector in Japanese is converted as Chinese, and generating unwanted characters (which are not used in Japanese but in Chinese).
(In reply to bug 37557 comment #1) > For the <languages /> however it should be easy to fix because it's separate > from the page content. For the sentence above it, it's already correct. No. For the sentence above it: that sentence before and after going through the converter are exactly the same...
BTW, <div lang="*"> is also an issue here.
(In reply to comment #1) > (In reply to bug 37557 comment #1) > > For the <languages /> however it should be easy to fix because it's separate > > from the page content. For the sentence above it, it's already correct. > > No. For the sentence above it: that sentence before and after going through the > converter are exactly the same... Ouch, by checking https://meta.wikimedia.org/w/index.php?title=IPv6_initiative/2012_IPv6_Day_announcement/sr&variant=sr-ec&uselang=en I found you're right.
This isn't as easy as I thought, since it would need setting $parser->getOptions()->setInterfaceMessage( true ); but it is in the same parser object as the rest of the page, thus marking the whole page as interface (thus disabling the conversion).
Can somebody tell me steps to reproduce, or provide a screenshot that marks what's wrong? I have looked at the two links here but I ignorantly fail to see the issue so far - sorry. :-/ > The language selector in Japanese is converted as Chinese, and generating > unwanted characters (which are not used in Japanese but in Chinese). Which ones are these?
This is the correct selection bar: 他言語での翻訳: チェコ語 100% • ドイツ語 93% • Zazaki 20% • 英語 100% • スペイン語 53% • ペルシア語 100% • フランス語 100% • ヒンディー語 20% • インドネシア語 87% • イタリア語 93% • 日本語 93% • 韓国語 93% • マケドニア語 87% • オランダ語 100% • ポーランド語 93% • ポルトガル語[ブラジル] 7% • ロシア語 93% • シンハラ語 7% • アルバニア語 13% • セルビア語 7% • スワヒリ語 93% • 中国語 93% • Chinese (China) 93% • 簡体中国語 100% • 繁体中国語 93% • Chinese (Hong Kong) 93% • 中文(澳門) 93% • 中文(马来西亚) 93% • Chinese (Singapore) 93% • Chinese (Taiwan) 93% When it's "converted to zh-hans" when misinterpreted as Chinese, it becomes: 他言语での翻訳: チェコ语 100% • ドイツ语 93% • Zazaki 20% • 英语 100% • スペイン语 53% • ペルシア语 100% • フランス语 100% • ヒンディー语 20% • インドネシア语 87% • イタリア语 93% • 日本语 93% • 韩国语 93% • マケドニア语 87% • オランダ语 100% • ポーランド语 93% • ポルトガル语[ブラジル] 7% • ロシア语 93% • シンハラ语 7% • アルバニア语 13% • セルビア语 7% • スワヒリ语 93% • 中国语 93% • Chinese (China) 93% • 简体中国语 100% • 繁体中国语 93% • Chinese (Hong Kong) 93% • 中文(澳门) 93% • 中文(马来西亚) 93% • Chinese (Singapore) 93% • Chinese (Taiwan) 93%