Changing Japanese namespace names of MediaWiki
According to discussion at Thread:Portal talk:Ja/名前空間の翻訳、そろそろ再開しましょう, we decided to change Japanese namespace names of MediaWiki.
- summary
-
- translate Category, Template, Help into Japanese (Katakana)
- change delimiter of talk namespace, from "‐"(U+0x2010) to "・"(U+0x30FB).
- In Japanese keyborad (JIS Keyborad), it's a little hard to input "‐". And it's confused "-"(U+0x002D).
- change translation of talk, from "ノート" and "会話" (used at only User talk) to "トーク".
- "ノート" means (is Katakana-ized word of) "note". "トーク" means (is Katakana-ized word of) "talk"
Old | New |
---|---|
$namespaceNames = array(
NS_MEDIA => 'メディア',
NS_SPECIAL => '特別',
NS_TALK => 'ノート',
NS_USER => '利用者',
NS_USER_TALK => '利用者‐会話',
NS_PROJECT_TALK => '$1‐ノート',
NS_FILE => 'ファイル',
NS_FILE_TALK => 'ファイル‐ノート',
NS_MEDIAWIKI => 'MediaWiki',
NS_MEDIAWIKI_TALK => 'MediaWiki‐ノート',
NS_TEMPLATE => 'Template',
NS_TEMPLATE_TALK => 'Template‐ノート',
NS_HELP => 'Help',
NS_HELP_TALK => 'Help‐ノート',
NS_CATEGORY => 'Category',
NS_CATEGORY_TALK => 'Category‐ノート',
);
|
$namespaceNames = array(
NS_MEDIA => 'メディア',
NS_SPECIAL => '特別',
NS_TALK => 'トーク',
NS_USER => '利用者',
NS_USER_TALK => '利用者・トーク',
NS_PROJECT_TALK => '$1・トーク',
NS_FILE => 'ファイル',
NS_FILE_TALK => 'ファイル・トーク',
NS_MEDIAWIKI => 'MediaWiki',
NS_MEDIAWIKI_TALK => 'MediaWiki・トーク',
NS_TEMPLATE => 'テンプレート',
NS_TEMPLATE_TALK => 'テンプレート・トーク',
NS_HELP => 'ヘルプ',
NS_HELP_TALK => 'ヘルプ・トーク',
NS_CATEGORY => 'カテゴリ',
NS_CATEGORY_TALK => 'カテゴリ・トーク',
);
|
We need your support:
- I know we can use Special:AdvancedTranslate, but it can't make alias of old names.
- How can/should we notice this change to Japanese MediaWiki users/system admins/developers?
- When does this change begin to be used? Next MediaWiki revs? Through mw:Extension:LocalisationUpdate?
Aliases will be taken care of by the committer (me), so just change it. On Wikimedia it may take months, but committing namespace is something I can do this weekend.
Thanks for you reply. How about noticing? How/where need we notice?
Probably the projects that use the Japanese language setting. Also you should check where the namespace names are used hardcoded in your wiki, for example changing {{#ifeq:{{NAMESPACE}}|ノート|...}}
to {{#ifeq:{{NAMESPACE}}|{{ns:Talk}}|...}}
or {{#ifeq:{{NAMESPACE}}|{{ns:1}}|...}}
, which will make the function work with both namespace names.
Changes have been committed in mwr:66490. Strangely enough the Japanese updates are not in there. Niklas, could this be a caching issue?
I see they had not been yet. I've committed them in mwr:66497. catrope will update namespaces, special page aliases and magic words in a few hours on Wikimedia wikis.
Thank you!
catrope didn't manage to get around to it today. He said he'd do it Monday.
We're changing "ノート" to "トーク" in all MediaWiki translation now, and completed MediaWiki core and Extentions used by Wikimedia .
But on page tab label, "ノート" is still in use. How (What message) should we change?
Just review all MediaWiki core translations and look them up. That's probably the most elaborate way, as I expect there is more than one occurrence. Btw, the changes have been deployed as far as I know.
MediaWiki:Talk/ja, MediaWiki:Talkpagelinktext/ja, MediaWiki:Vector-namespace-talk/ja have been changed. Other messages?
You should check all messages containing namespace names as text. Messages like Nstab-category ("Category
") and the ones for other namespaces.
Now no message contains "ノート" in MediaWiki core, except Exif-makernote ("Manufacturer notes
").
But "ノート" is still used on page tab label (c.f. [1]). Why?