[Mediawiki-l] multilanguage in single project

Jim Wilson wilson.jim.r at gmail.com
Thu Apr 5 21:01:41 UTC 2007


> To give credit where credit is due this configuration came from Jim
Wilson.

Thanks for the shout-out, Paul!

For those of you who plan to run HEAD from subversion - you'll also want to
consider tuplicating the AdminSettings.php file and figuring out an easy way
to batch execute the maintenance scripts.

-- Jim R. Wilson (jimbojw)

On 4/5/07, Paul Coghlan <pcoghlan at usa.net> wrote:
>
> I am setting up MW 1.9.3 in the next several days for English, Italian and
> Spanish as follows:
>
> New en, it and es folders off the /wiki folder. A copied LocalSettings.php
> file in each sub folder. New tables in the database with different
> prefixes;
> en_, it_ and es_.  The new LocalSettings.php files edited to look at these
> new tables.
>
> Apache aliases to ensure domain.com/it/Milano refers to the index.php in
> the
> mother folder (/wiki). This in turn will use the /it LocalSettings.php for
> the Italian wiki.
>
> I will post results as they are available but in theory this should allow
> multiple languages on a single MW installation with distinct wikis. This
> removes issues with version control and extension management.
>
> To give credit where credit is due this configuration came from Jim
> Wilson.
>
> Paul
>
>
>
> On 4/5/07 4:47 PM, "Rob Church" <robchur at gmail.com> wrote:
>
> > On 05/04/07, Armin Kniesel <armin.kniesel at googlemail.com> wrote:
> >> I installed this Multilang manually, but i don't know how to use it in
> wiki.
> >> Is there anywhere a description?
> >
> > The version of Multilang in Subversion is experimental, and doesn't
> > have documentation, but the basic gist of it is:
> >
> > <language code="en">Text in English.</language>
> > <language code="fr">Text in French.</language>
> > <multilang />
> >
> > The <multilang /> tag is replaced with an appropriate <language>
> > block; if a block in the user's current language preference is
> > available, then that's used, otherwise the content language (if
> > available). If neither of those are available, then it falls back to
> > the first available language block defined.
> >
> > If a <language> tag doesn't have a "code" attribute, then it will be
> ignored.
> >
> >
> > Rob Church
> >
> > _______________________________________________
> > MediaWiki-l mailing list
> > MediaWiki-l at lists.wikimedia.org
> > http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >
>
>
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>


More information about the MediaWiki-l mailing list