[Mediawiki-l] Why only a small fraction of text(in preferences)is displayed in Chinese and all others are still in English ?
Collin Hsu
collin at seu.edu.cn
Sat Aug 28 11:57:54 UTC 2004
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 at Wikimedia.org
> [mailto:mediawiki-l-bounces at 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)
>
More information about the MediaWiki-l
mailing list