Papermashup

Subscribe


Tweets


"RT @cpray86: Good to see the receptionist's Jpeg of an Excel file is coming along nicely... #TheApprentice https://t.co/uiPGhf64U3"

@ashleyford 1 day ago

"Translation wrong for this paper it should be: Bitte nicht den Horror-Clown (Please not the Horror-clown) https://t.co/RYOD6aND6s via @bandt"

@ashleyford 3 weeks ago

Designer and web developer, Co-founder and Technical Director at Harkable.com. Previously I worked at Spotify, MySpace and InMobi. Contact me - ashley[at]papermashup.com

Translate your site in 52 languages

AshleyAshley

Is your site reaching audiences that would probably rather content in their native language? we’ll there’s a simple solution which models itself on the popular social sharing site AddThis. TranslateThis developed by Jon Raasch, a front-end web programmer from Portland, OR is a very easy to implement translation solution that uses the Google Language API and AJAX to translate your page content on the fly.

Why is it good?

trans

It has several advantages over using the Google translate widget the main one being that TranslateThis processes the page right on the page in front of you without redirecting you to Google. Secondly its customisable allowing you to add specific languages to the initial drop down and change the button as well as add your own Google analytics code to track which languages are popular. You can even disable the cookie that the plugin drops so it only translates one page at a time rather than automatically changing the language to your preferred setting.

trans1

I think this is a great piece of code that can easily translate your site, the code it both lightweight and optimised and comes in at a little under 19kb’s in size. It’s of course compatible with all major browsers including IE6, 7 and 8, FireFox, Safari and Chrome The code will gracefully degrade to any previous browsers.

Designer and web developer, Co-founder and Technical Director at Harkable.com. Previously I worked at Spotify, MySpace and InMobi. Contact me - ashley[at]papermashup.com

Comments 6