I got the Babel thing working

Posted by Asparagus on 3 July 2015 in English.

So I figured it out a while ago, but I feel bad now that I forgot to tell anyone about it, so I’ll just say it the Canadian way:

Sorry, eh.

Anyway, in order to put the Babel language boxes on your user pages on the wiki, you have to do it a bit differently. Since (it appears that) a lot of Wikipedia’s features aren’t built into the OGF wiki, most language templates are missing, so I just entered them manually:

{ class=”userboxes” style=”float: right; margin-left: 1em; margin-bottom: 0.5em; width: 248px; border: #99B3FF solid 1px; clear: right; color: #000000; “

|-

! style=”background-color: inherit; text-align: center” colspan=”10” [[Wikipedia:Babel]]

|-

{{userbox-level
level =
id = [[en]]
info = This user is a native speaker of English.

}}{{userbox-level

level = 4
id = [[fr]]
info = Cet utilisateur parle français à un niveau comparable à la langue maternelle.

}}{{userbox-level

level = 1
id = [[iu]]
info = ᐃᓄᒃᑎᑐᑦ This user is able to contribute with a basic level of Inuktitut.

}}

}

Since there don’t appear to be any Babel language templates put into the OGF wiki yet (with a few exceptions), you can find them here and enter them manually: https://en.wikipedia.org/wiki/Wikipedia:Babel/List

Hopes this helps people out!

Discussion

Comment from BMSOUZA on 4 July 2015 at 00:58

It was a problem I was facing. Even copying the Babel form other users, as Lucinao and Tom M7, it did not work to me, mainly because my native language, pt-BR.

Happy it is fixed now, but I still will use my “brasilian way”, wit ha .PNG file hehehe.

Comment from Luciano on 4 July 2015 at 04:50

The key is to copy the templates manually that you want from wikipedia. For example, for my Babel to show es-5, I copied the template for that language/level from wikipedia and created the template in OGF’s wiki: http://opengeofiction.net/wiki/index.php/Template:User_es-5

It’s just cut’n’paste. A little bit tedious but it works fine.

Comment from Asparagus on 4 July 2015 at 05:09

^ Precisely!

Comment from BMSOUZA on 4 July 2015 at 08:42

The problem is: I tried it too. Copying from Wikipedia, etc

Try a Babel to “pt-BR-N”. It did not work to me here.

But I am “happy” because I increased my Babel in that .PNG file, hehehe

Regards! Bruno Moreira

Comment from BMSOUZA on 4 July 2015 at 08:49

Please ignore the answer above! It was in my Notepad and I copied acidentaly here! hehehe

The correct would be only:

“Thanks, but I am “happy” because I increased my Babel in that .PNG file, hehehe”

Regards, and sorry!!!

Bruno Moreira

Leave a comment

Log in to leave a comment