On 12/9/05, Dan Jacob <[EMAIL PROTECTED]> wrote:
> 2. There's a new function in turbogears.i18n.utils,
> google_translate(from_lang, to_lang, text). It basically queries the
> Google Translation Service page and screen-scrapes the text to give you
> a translation. For example:
>
> <h2>${google_translate("en", "es", "Are you ready to Gear Up?")}</h2>
>
> will return you a Spanish translation. At present the service supports
> translation to and from English, Spanish, Italian, German, Chinese,
> Japanese, Portuguese and Korean.That's really neat, but before I demo that for someone I'd probably have a native speaker check out the translation. That function is bound to create some amusing translations. (Google research folks have created some newer, more accurate translation technology but I don't think that's up on their site yet.) Nice improvements, Dan! Now the pressure's on Ronald to make admi18n do automatic translation via Google :) Kevin

