Page MenuHomeMiraheze

Localisation of namespace - Event:
Closed, InvalidPublic

Description

Wiki URLmagic.miraheze.org

Hello.
As I remember , I have checked earlier, some custom namespaces URL should be automaticaly translated to interface defined language
In my case I created Event: namespace, but the problem, when I switch to Russian, the namespace title does not changed to Событие, as it suppose to be changed, like Special(Служебная) or Template (Шаблон).
Can somebody help me out with it please ?

Related Objects

Event Timeline

Helper created this task.Thu, Sep 3, 15:18
Helper renamed this task from Multilingual namespace - Event: to Localisation of namespace - Event:.Thu, Sep 3, 15:25
Helper added a comment.Thu, Sep 3, 17:59

For your reference:

https://www.mediawiki.org/wiki/Help:Namespaces#Localisation
Localisation
Namespace names and aliases can be localized by developers. To request the localization of namespace names, please file a MediaWiki internationalization task at Phabricator. In the description of the task, you should provide translations of all the namespaces in the table to the right, as well as any additional namespaces on your wiki (such as "Module" or "Gadget").

https://www.mediawiki.org/wiki/Localisation#Namespaces
Localising namespaces and special page aliases
Namespaces and special page names (i.e. "RecentChanges" in "Special:RecentChanges") are also translatable.
Namespaces
Currently[1] making namespace name translations is disabled on translatewiki.net, so you need to do this yourself in Gerrit, or file a Phabricator: task asking for someone else to do it.
To allow custom namespaces introduced by your extension to be translated, create a MyExtension.namespaces.php file that looks like this:

Helper updated the task description. (Show Details)Thu, Sep 3, 18:06
Universal_Omega closed this task as Invalid.Tue, Sep 15, 22:17
Universal_Omega claimed this task.

Localalization of namespaces would require core modification or extension modification from what you've said above, therefore on Miraheze I do not believe that is possible.

Helper added a comment.Sat, Sep 19, 04:37

If you would provide the JsCalendar extension to all new wiki, why not to translate the Event namespace, used by default in the extension, together with translation of extension by translatewiki.net ?

RhinosF1 edited projects, added Extensions, Upstream; removed MediaWiki.Sat, Sep 19, 07:15

If you would provide the JsCalendar extension to all new wiki, why not to translate the Event namespace, used by default in the extension, together with translation of extension by translatewiki.net ?

https://github.com/edwardspec/mediawiki-extension-JsCalendar/issues/2

The part about localising custom namespaces, it would have to have a change to ManageWiki.

Helper added a comment.Sun, Sep 20, 18:06

I have read the developer response on github, and appreciate your effort to get answers on my questions from the dev.
As the dev says, there it is multi-language support suppose to be working fine, but it is not. You could go to magic.miraheze.org and test to find out about it, as I did with login and without login on several browsers, with extensions and completely clean fresh firefox.
User:Затейник/Календарь page created to test jscalendar.

Helper added a comment.EditedSun, Sep 20, 18:09

If at least parameter prefix = would work, it could compensate the lack of multi-language support. So the dates pages could be located in any namespace, even Main, which is preferable.

Could you reply to the dev on the github issue?

Helper added a comment.Sun, Sep 20, 18:23

I will try register there