Topic on Project:Support desk

How to Translate URLs (Main Page, Special:Categories, etc...)

5
189.18.252.33 (talkcontribs)

Hi,

I am using mediawiki in portuguese, but the urls of the special pages, main page and etc are carrying the english equivalents.

How to translate these urls?

thanks!

Florianschmidtwelzow (talkcontribs)

The urls are already translated. In which language the special pages (and other interface messages) are visible in, you can control with Manual:$wgLanguageCode in your LocalSettings.php. E.g. change the value (for you actually "en" i think) to "pt" (Portugese).

189.18.252.87 (talkcontribs)

Thanks! It solved my question.

I just cant use any of the hatnotes

I tried:

Template:Artigo principal Template:Principal

etc...

But no work. Does the translation break them? How may i use this feature?

Thanks for your help!

189.18.252.87 (talkcontribs)

Thanks! It solved my question.

I just cant use any of the hatnotes

I tried:

{{Main|PageName}} {{Artigo principal|PageName}} {{Principal|PageName}}

etc...

But no work. Does the translation break them? How may i use this feature?

Thanks for your help!

Florianschmidtwelzow (talkcontribs)

All of these functions seems to be templates, so first check, if the templates exists on your Wiki :)

Reply to "How to Translate URLs (Main Page, Special:Categories, etc...)"