Extension talk:Babel

Jump to navigation Jump to search

About this board

NemesisAT (talkcontribs)

Hi all, just wondered if this extension is compatible with the Visual Editor, or if there are any plans to add functionality in the future? Thanks

Reply to "Visual Editor"

language level codes inconsistent

Calypso (talkcontribs)

I'm preparing my user page and having difficulties with my language levels. My English level is C2 according to the CEFR (Cambridge Proficiency), and that is considered near-native, which obviously means that I can work with it professionally. And yet, here near-native is 4, below professional performance (5)! I think it would be better to use a well-established scale like the CEFR, from A1 basic to C2 near native.

Reply to "language level codes inconsistent"

Parameters for system messages

Summary by Epok
Epok (talkcontribs)


I would like to adapt the system messages MediaWiki:babel-autocreate-text-levels and MediaWiki:babel-autocreate-text-main on fr wiki to use as a default the standard models we use for language categories.

However, these models take as an input the language code, where the parameters (respectively $2 and $1) provide the language name. Are there other parameters provided for the text creation, which would provide the language code? If not, I think this would be a great idea to provide them.


Shirayuki (talkcontribs)
Epok (talkcontribs)

Yes, thank you, that was the info I was searching!

Have a nice day.

Saippuakauppias (talkcontribs)

Hi people. I am the de:User:Saippuakauppias and, as you can see on my user page in the German Wikipedia, when using " tg-2 " it does not understand it. Could you please solve this? Thank you so much. Regards, @Saippuakauppias (talk) 21:29, 23 October 2018 (UTC) (talkcontribs)

That page is using a babel template, not a babel extension, template vs parserfunction. There's nothing to solve. Look closely at the page...

Reply to "Tajiki in German wikipedia"
Mik (talkcontribs)

There is an inconsistency in different category links. English language points always to meta and other point to local wiki, e.g.:

  • [[m:Category:User en|English]]
  • [[Category:User fr|français]]
  • [[Category:User sp|español]]

I think it will be better that all links point to local wiki.

Reply to "'Category:User xx' links"

Don't use fallback if template exists

1 (talkcontribs)

This shouldn't use the fallback language if the template exists. It should first use built in translations, then look for a template, then use the fallback. This would make it simpler to ensure it's in the correct language if you add it.

Reply to "Don't use fallback if template exists"

Problem with text given out by the extension.

C933103 (talkcontribs)

See my user page, there are tons of languages being marked as English. Can that be pulled from wikidata or other database instead? Even pih does not have a working label, pih is a language that a wikipeia have already been created for it.

Also, the text in ii userbox is not ii, where can that be edited?

Additionally, after applying it to wikidata, only zh-HK is retained, and zh/zh-Hant/zh-TW/zh-Hans/zh-CN disappeared from the list. How to fix that?

Iniquity (talkcontribs)
Iniquity (talkcontribs)
C933103 (talkcontribs)

1. For ii, if all things in babel are not translated then why is it displaying simplified chinese? Is there some sort of fallback mechanism?

2. For other languages, from what I see on translatewiki, it seems like the message is written s like [[$2|English]]. Then no wonder they would be displayed as English without translation?

Reply to "Problem with text given out by the extension."
Walter Klosse (talkcontribs)

Can we add languages that have no ISO-363 code, like toki-pona?

Base (talkcontribs)
Nikerabbit (talkcontribs)

You can, if you create such templates yourself, like Base explains above. Without a ISO code it won't be added to the Babel extension.

Reply to "Languages with no ISO code"

Manipulating the standard babel box

Kghbln (talkcontribs)

Is there a way to manipulate the standard babel box used for the languages, i.e. add additional wikitext markup to it? I would like, e.g. to add an annotation like {{#set: Language spoken=de |Language spoken level=N }} in case {{#babel:de-N}} is added to the user page.

Nikerabbit (talkcontribs)

You could use the categories as alternative way to get this information. Babel extension does not provide any hooks at the moment.

Kghbln (talkcontribs)

Thanks for the information. I will try to figure something out using the categories. Should not be too hard.

Reply to "Manipulating the standard babel box"
Infovarius (talkcontribs)

Where can I translate some new language names (labels) into Russian?

Stephen G. Brown (talkcontribs)

What are the names? Maybe we can translate them if we know them.

Infovarius (talkcontribs)
Infovarius (talkcontribs)

For example in d:Q2 I see for labels: "Belarusian (Taraškievica orthography)", "Algerian Arabic", "Bavarian", "Banjar", "Russia Buriat" and many more. Some of them I would translate myself if I know where.

Stephen G. Brown (talkcontribs)

I guess this would be the place. There is no particular place to translate them, someone just does it. I have made a complete list of the languages you need at User talk:Stephen G. Brown#Language list. Please check the list (265 languages) to see if I have any that should not be included, or if I have missed any.

Also, what about the sort order? Do you want to keep the same order, or what? I noticed that the list is in alphabetical order to some degree, but not completely. Russian has a different alphabetical order. Stephen G. Brown (talk) 23:59, 30 October 2017 (UTC)

Reply to "Language names"