A critical vulnerability was discovered in React Server Components (Next.js). Our Systems Remain Fully Protected. Learn More

Dmytro Duk
Nov 6, 2009
  6699
(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
Jhoose Security Modules v2.6.0 — Added support for Permissions Policy and .NET 10

Version 2.6.0 adds Permissions Policy header support, updates to .NET 10, improved policy management, configurable security settings, and enhanced...

Andrew Markham | Dec 6, 2025 |

Building a 360° Customer Profile With AI: How Opal + Optimizely Unlock Predictive Personalization

Creating truly relevant customer experiences requires more than collecting data—it requires understanding it. Most organizations already have rich...

Sujit Senapati | Dec 4, 2025

Building a Lightweight Optimizely SaaS CMS Solution with 11ty

Modern web development often requires striking a difficult balance between site performance and the flexibility needed by content editors. To addre...

Minesh Shah (Netcel) | Dec 3, 2025

Creating Opal Tools Using The C# SDK

Over the last few months, my colleagues at Netcel and I have partaken in two different challenge events organised by Optimizely and centered around...

Mark Stott | Dec 3, 2025