Last modified: 2006-03-27 10:38:56 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 4592 - LanguageZh_tw.php messages are not using {{SITENAME}}
LanguageZh_tw.php messages are not using {{SITENAME}}
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://openvanilla.org/mediawiki-patc...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-01-13 04:38 UTC by Lukhnos D. Liu
Modified: 2006-03-27 10:38 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
A proposed patch for LanguageZh_tw.php (diff aginst cvs head) (62.31 KB, patch)
2006-01-17 19:39 UTC, Lukhnos D. Liu
Details

Description Lukhnos D. Liu 2006-01-13 04:38:48 UTC
In installing MediaWiki with zh_TW localization, I found that the variable SITE_NAME was hard-coded as 維基百科 (Wikipedia's Chinese name) 
into languages/LanguageZh_tw.php. As hard-coded data gets populated at the installation stage, this becomes an annoyance. I have 
referred to LanguageDe.php and made necessary changes for this, leaving $sitesubtitle untouched (maybe it's needed to be addressed in 
config too?)--the one in LanguageDe.php is also hard-coded.

The patch file can be retrieved via the URL given in this bug report, thank you for your attention.
Comment 1 Rob Church 2006-01-16 13:28:59 UTC
Please use the attachments feature to upload a unified diff against CVS HEAD.
Thanks.
Comment 2 Antoine "hashar" Musso (WMF) 2006-01-17 19:11:54 UTC
You want 'cvs diff -u' against cvs HEAD.

Make sure you read:
http://meta.wikimedia.org/wiki/MediaWiki_localisation
Comment 3 Lukhnos D. Liu 2006-01-17 19:39:39 UTC
Created attachment 1315 [details]
A proposed patch for LanguageZh_tw.php (diff aginst cvs head)

Please note that since last time I reported to you this problem, I have also
found a number of phrases in LanguageZh_tw.php that does not follow the usage
in the Mandarin Chinese used in Taiwan. I have performed global changes to
these terms and have asked for collaboration and review from people including
hlb (http://hlb.yichi.org/blog/), who is leading the translation and revision
plan of the Traditional Chinese version of the W3C Glossary and Jedi Lin
(http://jedi.org/blog/), renown for his localization work on many web
applications, notable Moveable Type. It is true that this will not be the final
version and lots more need to be done, especially review. One thing for sure is
that a simple Simplified-to-Traditional Chinese conversion of language file is
not enough. Cheers.
Comment 4 Shinjiman 2006-03-20 03:03:28 UTC
for proposing of these changes, I've created a project page that includes the 
User Interface Translation.

http://zh.wikipedia.org/wiki/WP:UIT

I hope this will be the more collaborate way to translate the user interface for 
Mediawiki.
Comment 5 Lukhnos D. Liu 2006-03-20 03:17:25 UTC
I agree with Shinjiman's idea that there should be a more flexible way for collaboration. At the time I was making this 
revision for Traditional Chinese, I didn't realize that the code layout for the langauge files has been changed in the current 
CVS head. I (now we, along with a number of friends who got interested in making the MediaWiki language variant system 
work) will have to track the changes and merge the works from both what's available already on Wikipedia and the feedbacks 
of other MediaWiki users (note).

Note: Although I understand that all the localization efforts mainly serve Wikipedia, I'll say the number of users of MediaWiki 
are also growing. They may have different set of needs in terms of language files when they deploy MediaWiki. For example, 
we use them in http://openvanilla.org and we do have customized it a bit so that the language files (not submitted in this 
ticket) reflect our glossary needs.
Comment 6 Niklas Laxström 2006-03-27 10:38:56 UTC
As far as I know, {{SITENAME}} issues are corrected. Closing.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links