Item Translator

  0 rating
10/23/2012 1:56:43 AM
4/17/2015 1:39:52 PM
Source: GitHub
Provider: Sitecore Snippets

About

The Item Translator module integrates Google translate seamlessly so that with a click of a button you are able to translate your text to any language that Google translate supports. 

Documentation

Documentation
  • Documentation > Welcome to the Item Translator
    Welcome to the Item Translator

     One of the strongest techniques which can be used to increase sales and get more potential customers of the people from other regions is a multilingual website. Multi-language management is a cornerstone of Sitecore CMS, integrated into all aspects of content and site management. It allows you to build a multi-language website with almost the same effort as a single-language.

    But what if you want to translate an existing site with a thousands of pages, hundreds of templates and website sections? How to identify possible architecture(like "Shared" fields that actually should be translated) problems, or implementation bugs (hard-coded texts, displaying item name instead of a title and so on). 

    Sure, you can ask content-editors to spend few weeks in order to translate the site, test it, etc. But how about instant website translation using some online service? Read the full story here.

    This module allows you to translate Sitecore items instantly by clicking single button in back-end! You can use either Google Translate or Bing Translator, default translation provider is "Google", setting can be changed to "Bing" in Sitecore.SharedSource.ItemTranslator.config file. You can also add your own provider easily.

    To translate an item, navigate to it, select a language you want to translate it to:

    Item Translator dropdown

    And press "Translate Item/Tree". Translation time depends on number of items and their fields and may take a while.

    Item Translator ribbon

    Item translator dialog box

    0
  • Documentation > How to install
    How to install
    Module installation requires some additional steps after installing this package:

    1) Add the following command definitions to the /App_Config/Commands.config:

    <command name="contenteditor:translatetree"
    type="Sitecore.SharedSource.ItemTranslator.Commands.TranslateTreeCommand,Sitecore.SharedSource.ItemTranslator" />
    <command name="contenteditor:translateitem"
    type="Sitecore.SharedSource.ItemTranslator.Commands.TranslateItemCommand,Sitecore.SharedSource.ItemTranslator" />

    2) Add the following text to the <configuration> section of your web.config if you want to use Bing translator:

        <system.serviceModel>
            <bindings>
                <basicHttpBinding>
                    <binding name="BasicHttpBinding_LanguageService" closeTimeout="00:01:00"
                        openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
                        allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
                        maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
                        messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
                        useDefaultWebProxy="true">
                        <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
                            maxBytesPerRead="4096" maxNameTableCharCount="16384" />
                        <security mode="None">
                            <transport clientCredentialType="None" proxyCredentialType="None"
                                realm="" />
                            <message clientCredentialType="UserName" algorithmSuite="Default" />
                        </security>
                    </binding>
                </basicHttpBinding>
            </bindings>
            <client>
                <endpoint address="http://api.microsofttranslator.com/V2/soap.svc"
                    binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_LanguageService"
                    contract="BingTranslator.LanguageService" name="BasicHttpBinding_LanguageService" />
            </client>
        </system.serviceModel>

    3) Bing Translation requires AppId that should be changed in this file: Sitecore.SharedSource.ItemTranslator.config. You can request your AppId here: ​http://www.bing.com/developers 
    1
Back
Release notes
The module was added 03/09-2011
Read more Back
Code examples

Solution screenshots(0)

Upload

Reviews (0)

Sort by: Date Most votes
  • Profile Avatar
    [fullName]

    Level: 0

    x0 x0 x0

    [date]

    [title]

    [text]

    Was this helpful?

    0

Comments (0)

Sort by: Date  Most votes

Leave a Comment

Comment must be field in
Post comment
loader

Write a review

Title can't be empty
Review can't be empty
Post review

Download

Title Description Download Action

Add File