Quick Nav:  Online Store   |   Login | Register

Translation

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
SmartSource-IT
<20 Posts
Posts:1


03/26/2007 12:04 PM  

Any Ideas if this module could be used to deliver webpages machine translated to other languages?  ie.  babel fish etc.?  Maybe pickup on a translation tag en-es en-fr scrub / replace using babel fish web service for translation. 

John Mitchell
Posts:3492


03/26/2007 12:10 PM  
I haven't given much thought to that, but it is possible, and I am open to adding that kind of functionality.

Can you give me any more details on what you would need the module to do?

There are methods in place for pulling in content from outside sources like WebCapture, XMLTransform, & LoadFile, but I haven't worked specifically on having the module send data to outside services with the response displayed.

You could use the LoadFile method and have several static files in different languages which could then be inserted into the page depending on the language of the browser by naming the static files appropriately.
doggiedaddy1
<50 Posts
Posts:29


08/29/2008 7:17 PM  

Well, I thought for sure someone would have come up with a solution for this idea by now.  But, obviously I'm not the first to think of this.  Just starting with the module and here's what I'm trying to do:

Eventually, our portals will be manually translated using DNN localization.  In the meantime, I'm looking to use machine translation.  Google is ok, Windows Live is a little better, Babelfish is not bad either.  All of them are using SYSTRAN augmented by their own databases.  However, both Google &Windows Live require you to do more than just click on a link to get a translation.  Babelfish can go to a machine translated page at one click.  Using the traditional browser url identifications (usually java) have issues as their is a bug that pops up with some browsers.  So, using a module that by it's nature monitors url's is an ideal solution.  Bablefish would require an input similar to this:  "href=http://babelfish.altavista.com/babelfish/trurl_pagecontent?lp=en_fr&url=MYURL"

Where "MYURL" is the url of the current tab.  This string is for the french translation and there is a variation for each language pair.  If a rule could be written to apply/select this string based upon whatever DNN locale was chosen, then if applied to the portal it would machine translate all pages unless a page had a specific rule to override as it had manual translation/localized content.  Or perhaps, if most of portal was translated into localized content a rule to apply to specific pages only for machine translation.

Thoughts on this?

doggiedaddy1
<50 Posts
Posts:29


09/02/2008 12:27 AM  

Here's a first step translator:  Machine translation using all languages provided by Babelfish and using flags for links.  There are a lot of sources for flags, but they are provided in the DNN source files.

I created a rule to insert the current page url:

Rule Name:   [script removed]
Search For:
[script removed]
Replace - Respond With:    
[script removed]

 

 

Then, I added the code below to a text/HTML module on the page:

http://babelfish.altavista.com/babelfish/trurl_pagecontent?lp=en_zh&amp;url=http://babelfish-input"> height="20" alt="Simplified Chinese-繁體中文" width="30" border="0" src="/Portals/0/images/Flags/zh-CHS.gif" />&#160; http://babelfish.altavista.com/babelfish/trurl_pagecontent?lp=en_fr&amp;url=http://babelfish-input"> height="20" alt="French-Français" width="30" border="0" src="/Portals/0/images/Flags/fr-FR.gif" />&#160; http://babelfish.altavista.com/babelfish/trurl_pagecontent?lp=en_es&amp;url=http://babelfish-input"> height="20" alt="Spanish-Español" width="30" border="0" src="/Portals/0/images/Flags/es-ES.gif" />&#160; http://babelfish.altavista.com/babelfish/trurl_pagecontent?lp=en_it&amp;url=http://babelfish-input"> height="20" alt="Italian-Italiano" width="30" border="0" src="/Portals/0/images/Flags/it-IT.gif" />&#160; http://babelfish.altavista.com/babelfish/trurl_pagecontent?lp=en_pt&amp;url=http://babelfish-input"> height="20" alt="Portugeuse-Português" width="30" border="0" src="/Portals/0/images/Flags/pt-PT.gif" />&#160; http://babelfish.altavista.com/babelfish/trurl_pagecontent?lp=en_ja&amp;url=http://babelfish-input"> height="20" alt="Japanese-日本の" width="30" border="0" src="/Portals/0/images/Flags/ja-JP.gif" />&#160; http://babelfish.altavista.com/babelfish/trurl_pagecontent?lp=en_de&amp;url=http://babelfish-input"> height="20" alt="German-Deutsch" width="30" border="0" src="/Portals/0/images/Flags/de-DE.gif" />&#160; http://babelfish.altavista.com/babelfish/trurl_pagecontent?lp=en_nl&amp;url=http://babelfish-input"> height="20" alt="Dutch-Duitsch" width="30" border="0" src="/Portals/0/images/Flags/nl-NL.gif" />&#160; http://babelfish.altavista.com/babelfish/trurl_pagecontent?lp=en_el&amp;url=http://babelfish-input"> height="20" alt="Greek- Έλληνες" width="30" border="0" src="/Portals/0/images/Flags/el-GR.gif" />&#160; http://babelfish.altavista.com/babelfish/trurl_pagecontent?lp=en_ko&amp;url=http://babelfish-input"> height="20" alt="Korean-한글" width="30" border="0" src="/Portals/0/images/Flags/ko-KR.gif" />&#160; http://babelfish.altavista.com/babelfish/trurl_pagecontent?lp=en_ru&amp;url=http://babelfish-input"> height="20" alt="Russian-Русский" width="30" border="0" src="/Portals/0/images/Flags/ru-RU.gif" />&#160; English-US

Works pretty slick.

Next as we start doing translations, I'll see if I can figure out a method for combination of translate and localization.

D

doggiedaddy1
<50 Posts
Posts:29


09/02/2008 12:30 AM  

Well, that didn't work out so well.

Rule name is "Babelfish Translate url"

Search for "babelfish-input"

Replace with "[PB:DNN.PageInfo.FullUrl]"

 

Good Luck

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.



ActiveForums 3.7
Powered by: Snapsis Software