The language selector in Japanese is converted as Chinese, and generating unwanted characters (which are not used in Japanese but in Chinese).
Version: unspecified
Severity: normal
liangent | |
Jun 13 2012, 6:22 PM |
F36961622: T39559_screenshot2.png | |
Apr 24 2023, 9:49 AM |
F36961621: T39559_screenshot1.png | |
Apr 24 2023, 9:49 AM |
The language selector in Japanese is converted as Chinese, and generating unwanted characters (which are not used in Japanese but in Chinese).
Version: unspecified
Severity: normal
(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...
(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%
I don't think that this task is still valid, @liangent those language names are autonym now
Unfortunately closing this Phabricator task as no further information has been provided and as T39559#3434017 implies that this is not the case anymore.
@liangent: If this still happens, please set the status of this task back to "Open" via the Add Action... → Change Status dropdown. Thanks!
Hi @TripleCamera2022, thanks for your comment and welcome to Wikimedia Phabricator.
This ticket has been closed for years already. If you run into some problem, please file a new ticket: See https://www.mediawiki.org/wiki/How_to_report_a_bug and fill out the template at https://phabricator.wikimedia.org/maniphest/task/edit/form/43/ - thanks!
After looking into the issue, I believe this was a mis-close as it was never been solved.
Okay, in that case let's reopen and stay in this ticket. Thanks for the second opinion!