"Facts are meaningless. You could use facts to prove anything that's even remotely true!"
-Homer J. Simpson

Friday, August 25, 2006

Blogging in Both Official Languages

I would love to be able to speak/type French and thus reach a broader audience.

However, linguistics are not exactly my strong suit.

Programming and code editing are my strong suit(s)

As well as stealing and modifying good ideas.

So - as a prototype - I bring you blogging in both of Canada's official languages.

If people like this I will work on making modular code that others can add to their blogs.

Here is the code that you see on my side bar:



You have to change value="http://giantpoliticalmouse.blogspot.com/index.html"
to the url for your own blog

Saskboy says this code works on wordpress:


11 comments:

Northern BC Dipper said...

Wow, is this ever cool!

It looks good, to me, with my limited French, but I'd wonder what a Francophone would think of this? After all, if you translate it into French and then back into English, you will get some rather interesting results.

I know that the Blogging Dippers are trying to get a French Version going, maybe they would be interested in this?

Do you mind if I mess around with this code a little? I think this could be useful on my sidebar.

Saskboy said...

This could produce fantasticly drole results. Bon job. What is the translation engine, and will you make the code avaiable for all Canadian bloggers to insert a button onto the page?

lance said...

With respect to the previous commenters, quality is _not_ the point.

Inclusion is.

Damned fine idea.

I'll be cough, stealing, cough, the code. :)

Cheers,
lance

Saskboy said...

Lance I agree quality of translation isn't the issue. I'm just saying it will be funny/cause issues. But inclusion is more important, and I for one welcome my French speaking overlor... err, welcome a translation of my site :-)

Giant Political Mouse said...

The code is free for all ot use

thanks guys

Saskboy said...

It's great GP Mouse.
BTW, Why don't you accept anonymouse comments on your blog, don't you like trolls? ;-)

I've made minor changes to the code for my Word Press Sidebar. I'm not sure if I have bad code elsewhere interfering, but it was showing up at the bottom of my Sidebar with a long Div starting at the top when I put it there, until I removed a couple extra spans, and put in a height.

If I post changes blogger will block the html code. I'll email it.

lance said...

The orignal works fine at my place. (Minus design changes.)

One thing though, Google's recreation doesn't like my CSS pre class="" tags.

Cheers,
lance

Ross said...

great idea, i believe i will be sniping this code from you as well, but first. how would i go about adding an english to spanish option because i have several friends in mexico and through them get quite a few hits from mexico.

Saskboy said...

Ross, my guess is that you'd replace the "fr" in the code with "es" but that's a wild guess you could play with before you get a more sure answer. Then replace French with Spanish in the code too. Or you may just need to copy a line, then change things if you want Spanish in addition to french.

Giant Political Mouse said...

Ross:

add the following code as an option:

(option value="en|es")English to Spanish(/option)

replace () with <>

Ross said...

thank you for the help, ive got it up and running on my blog complete with a spanish option.