Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Dmytro Duk
Nov 6, 2009
  6150
(5 votes)

Quick Translate gadget

Hi! Here is my little contribution to Gadget Contest 2009 – Quick Translate gadget.

QuickTranslate1

I believe that user doesn’t want to click on many dropdowns, radio buttons, checkboxes, etc to define complex translation settings.

The main idea is to provide convenient tool for quick translation of short texts and pages.

As an alternative you can use staggering Ruwen’s gadget and find something for translation in 170000 third party gadgets :)

Key features:

Type and go! Just type or paste text and submit by Enter, that’s it. Quick translate gadget is not intended for long texts translation. You won’t see any text area controls and don’t have to click on a submit button.

Detect my language! Source language is detected automatically and indicated below the translated text. We avoid extra control and don’t make user to specify source language. It is quick and simple. Moreover user might not know what source language is.

QuickTranslate2

The more words you input the more correctly source language is determined.

Translate my page! You can submit any URL and get translated page in a new window.

Remember me! Since we have minimal control set, there is only one setting: translation result language. Gadget will remember your last choice and this language will be selected when you back tomorrow. Or next year. Until you clear cookies.

Technical details

Yes, it uses Google AJAX Language API.

One strange thing is that Google returns not localized list of supported languages, even when you specify required culture. My solution: I load the list of native names of .NET neutral cultures using AJAX and then build dropdown of supported languages.

Download and installation

Module can be installed on existing EPiServer CMS 6 site using Deployment Center.

Unpack sources to Modules folder of your site.

Nov 06, 2009

Comments

Sep 21, 2010 10:32 AM

Nice one!
/ Allan Thraen

Please login to comment.
Latest blogs
Solving the mystery of high memory usage

Sometimes, my work is easy, the problem could be resolved with one look (when I’m lucky enough to look at where it needs to be looked, just like th...

Quan Mai | Apr 22, 2024 | Syndicated blog

Search & Navigation reporting improvements

From version 16.1.0 there are some updates on the statistics pages: Add pagination to search phrase list Allows choosing a custom date range to get...

Phong | Apr 22, 2024

Optimizely and the never-ending story of the missing globe!

I've worked with Optimizely CMS for 14 years, and there are two things I'm obsessed with: Link validation and the globe that keeps disappearing on...

Tomas Hensrud Gulla | Apr 18, 2024 | Syndicated blog

Visitor Groups Usage Report For Optimizely CMS 12

This add-on offers detailed information on how visitor groups are used and how effective they are within Optimizely CMS. Editors can monitor and...

Adnan Zameer | Apr 18, 2024 | Syndicated blog