I 've fixed the problem!
The problem is I was running rebuildMessages.php with altered Wiki PHP
files.
Rewrite all the wiki PHP files with orginal files before run
rebuildMessages.php and the problem will be fixed.
Thank you!
Collin
> -----Original Message-----
> From: mediawiki-l-bounces@Wikimedia.org
> [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Collin Hsu
> Sent: Saturday, August 28, 2004 7:58 PM
> To: 'MediaWiki announcements and site admin list'
> Subject: RE: RE: RE: [Mediawiki-l] Why only a small fraction
> of text(inpreferences)is displayed in Chinese and all others
> are still inEnglish ?
>
> Dear Brion,
>
> Thank you for your helps!
>
> I 've tried as you adviced, it remains the same.
>
> I find out that the problem is probably caused by failing to
> import LanguageZh.php to override those are defined in
> Language.php, because when I open the wiki in my browser , it
> always leads me to "Main_Page" not appropriate mainpage as
> defined in the LanguageZh.php.
>
> Would it possible to fix the problem?
>
> Appreiciate very much!
>
> Collin Hsu
>
>
>
> > -----Original Message-----
> > From: mediawiki-l-bounces@Wikimedia.org
> > [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Brion Vibber
> > Sent: Friday, August 20, 2004 1:12 AM
> > To: MediaWiki announcements and site admin list
> > Subject: Re: [Mediawiki-l] Why only a small fraction of text(in
> > preferences)is displayed in Chinese and all others are still in
> > English ?
> >
> > Collin Hsu wrote:
> > > It happens as an side effect after I made some alteration
> > to wiki PHP code.
> > >
> > > I am sure that the varialbe $wgLanguageCode has been set to
> > > appropriate language code(i.e. "zh" for Chinese) and the
> > variable 's
> > > runtime value equals to "zh" as it is defined.
> > >
> > > However all the text on the UI are still English, except
> > for a small
> > > fraction of text in user preferences are Chinese.
> > >
> > > BTW: Wiki's version is 1.3.0 beta.
> > >
> > > Can anybody give me some advice to solve this problem?
> >
> > Run the rebuildMessages.php script in the maintenance
> directory. (Has
> > to be done from the command line; you have to create a dummy
> > AdminSettings.php file also.)
> >
> > -- brion vibber (brion @ pobox.com)
> >
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l@Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>