Introducing WordPress Translate
I just finished writing a plugin to translate a WordPress blog to any language that Google can translate to. I didn’t have a use for it really. Not many people read my blog. I just wanted something to do.
Comments
Comment from David Russell
Time August 5, 2005 at 3:18 am
Is there any way to make the translation bar display horizontally? It’s just that the theme I’m using (Rin) doesn’t display the sidebar on individual posts so I was going to put the translations in the footer.
Comment from Jason Pearce
Time August 21, 2005 at 12:17 pm
To make my Translate section on ThirdGoal.com run horizontally, I did the following:
I opened up wp-translate.php and simply changed all of the LI tags to SPAN tags.
&langpair=en%7Cde&hl=en&ie=UTF-8&oe=UTF-8">/wp-content/plugins/wp-translate/images/germany.gif" alt="German flag" />
You could leave them as LI tags and just use some CSS to make it appear horizontal, but SPAN works best for me.
In my sidebar.php file, I did this:
Translate
And in my CSS file I did this:
#translate {margin: 1px; padding: 0;}
#translate img {
margin: 1px;
padding: 0;
height: 15px;
width: 22px;
}
I also modified all of the IMG files so that each flag was 22px wide by 15px tall. If you want your flags to also be the same size, just download what I did.
Comment from LolitochkaBC
Time May 10, 2007 at 6:34 am
Ðаанук-а ребÑткп голоÑуем!!!
ПртмзнавайтеÑÑŒ проказники владельцы Ñайта http://www.scotthough.com ))))
ЧТО вы будекет делать Ñ‚ÑÐ¸Ð¼Ñ ÐµÐ»Ñ‚Ð¾Ð¼?!


Comment from DiS
Time July 30, 2005 at 4:57 pm
Hey, I just read your blog in Greek …
Very cool plugin, I’ll use it.
(and then, I’ll congratulate Google for the hilarious translation)