Page MenuHomePhabricator

Allow edits to proficiency levels for non-localised languages
Open, Needs TriagePublic

Description

There are many languages accounted for by {{#babel:}} whose text is still in English. One of the conveniences of the old Babel template is ease of editing the proficiency levels from Wikipedia (although I agree that using the parser function prevents redundancy.)

Is there a way to edit proficiency level texts for languages that are not accounted for by TranslateWiki (e.g. Gaddang, which is a Philippine language I am a speaker of?) I was told in the Talk page for Babel in en Wikipedia that all changes need to be centrally agreed upon.

Thank you for your time.

Event Timeline

The problem is that even though if we add translations to the Babel extensions, as far as I know MediaWiki does not make them available for languages that are not supported in the interface. This seems to be an oversight and regression of some changes in the past.


I will merge patches against the Babel repository i18n files adding new translations for new languages if the language code is valid and correct and translations look correct markup-wise.

Alternatively, if one lacks technical skills to do a patch, just providing the translations in a Phabricator task also works.

The messages that need translations are https://github.com/wikimedia/mediawiki-extensions-Babel/blob/master/i18n/en.json#L16-L29 (note that English should be replaced with the autonym of the language of the translations).

But as I wrote above, this doesn't do anything until the bigger problem is fixed.

@Nikerabbit
That's a shame. Can I still make a .json for languages I intend to translate in the i18n folder, anyway?
Thanks for the heads-up about this; I had no idea that only MediaWiki-supported languages would work with the Babel extension. I thought it was just an issue of there being no file for the parser function to call.

I am pretty sure it used to work. Obviously the current system is intelligent enough to not load messages in a language that cannot be used as an interface language. Babel here is an exception. I will accept translations like I wrote above.

@Amire80, @Nikerabbit Hey! Do you think that a separate task is needed to fix work with languages in MediaWiki?

@Amire80, @Nikerabbit Hey! Do you think that a separate task is needed to fix work with languages in MediaWiki?

What do you mean by "work with languages"?

@Amire80, @Nikerabbit Hey! Do you think that a separate task is needed to fix work with languages in MediaWiki?

What do you mean by "work with languages"?

Allow MediaWiki to use for localization languages that are not represented in the interface.