On Mon, Sep 13, 2010 at 2:09 PM, Sean Moss-Pultz <[email protected]> wrote:
>
> Hi List
>
> I have a local copy of mediawiki (v1.15) and I'm trying to force
> output of content in "zh-tw" format for testing. I figured this could
> be done by setting:
>
>  $wgLanguageCode = 'zh-tw';
>
> inside of LocalSettings.php. But this doesn't seem to work. Could
> somebody shed some light on how to do this?

I figured this out. This works as I wanted:

  $wgLanguageCode = 'zh';
  $wgDefaultLanguageVariant = 'zh-tw';

Hope that helps somebody... sometime.

Sean

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to