Try our conversational search powered by Generative AI!

Dmytro Duk
Nov 6, 2009
  6147
(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
The A/A Test: What You Need to Know

Sure, we all know what an A/B test can do. But what is an A/A test? How is it different? With an A/B test, we know that we can take a webpage (our...

Lindsey Rogers | Apr 15, 2024

.Net Core Timezone ID's Windows vs Linux

Hey all, First post here and I would like to talk about Timezone ID's and How Windows and Linux systems use different IDs. We currently run a .NET...

sheider | Apr 15, 2024

What's new in Language Manager 5.3.0

In Language Manager (LM) version 5.2.0, we added an option in appsettings.json called TranslateOrCopyContentAreaChildrenBlockForTypes . It does...

Quoc Anh Nguyen | Apr 15, 2024

Optimizely Search & Navigation: Boosting in Unified Search

In the Optimizely Search & Navigation admin view, administrators can set a certain weight of different properties (title, content, summary, or...

Tung Tran | Apr 15, 2024

Optimizely CMS – Getting all content of a specific property with a simple SQL script

When you need to retrieve all content of a specific property from a Page/Block type, normally you will use the IContentLoader or IContentRepository...

Tung Tran | Apr 15, 2024

Join the Content Recommendations Work Smarter webinar May 8th 16.00-16.45 CET with expert Aidan Swain

Learn more about Content Recommendations, with Optimizely’s very own Senior Solutions consultant, Aidan Swain . He will discuss best practices and...

Karen McDougall | Apr 12, 2024