Home > Plugins > Google Translate

Google Translate

November 10, 2009Mike10 comments
Usage
Version 1.0b1: 
  • The tag modifier "google_translate."
  • Example:
    <mt:Entries>
         <$mt:EntryBody google_translate="es"$>
    </mt:Entries>
  • Acceptable values:
    • af    for Afrikaans
    • sq    for Albanian
    • ar    for Arabic
    • be    for Belarusian
    • bg    for Bulgarian
    • ca    for Catalan
    • zh-CN for Chinese (Simplified)
    • zh-TW for Chinese (Traditional)
    • hr    for Croatian
    • cs    for Czech
    • da    for Danish
    • nl    for Dutch
    • en    for English
    • et    for Estonian
    • tl    for Filipino
    • fi    for Finnish
    • fr    for French
    • gl    for Galician
    • de    for German
    • el    for Greek
    • iw    for Hebrew
    • hi    for Hindi
    • hu    for Hungarian
    • is    for Icelandic
    • id    for Indonesian
    • ga    for Irish
    • it    for Italian
    • ja    for Japanese
    • ko    for Korean
    • lv    for Latvian
    • lt    for lithuanian
    • mk    for Macedonian
    • ms    for Malay
    • mt    for Maltese
    • no    for Norwegian
    • fa    for Persian
    • pl    for Polish
    • pt    for Portuguese
    • ro    for Romanian
    • ru    for Russian
    • sr    for Serbian
    • sk    for Slovak
    • sl    for Slovenian
    • es    for Spanish
    • sw    for Swahili
    • sv    for Swedish
    • th    for Thai
    • tr    for Turkish
    • uk    for Ukranian
    • vi    for Vietnamese
    • cy    for Welsh
    • yi    for Yiddish

Downloads

All downloads are at GitHub.

  1. November 14, 2009 at 23:01 | #1

    It doesn't work, are there other actions needed?

  2. November 15, 2009 at 09:51 | #1

    Can you be more specific about what is not working and what you are trying to do.

  3. November 15, 2009 at 20:10 | #1

    My bad. What I uploaded was, in fact, code that I was working on that wasn't what I intended to release for testing as yet.

  4. November 21, 2009 at 21:53 | #1

    I added attribute google_translate="en" to and rebuild, it doesn't work, the content still was in Chinese.
    I wonder can I publish content both in Chinese and English statically under different directory? The MovableType only one Entry template could be published.

  5. November 23, 2009 at 09:24 | #1

    What Movable Type language distribution are you using? The Google Translate plugin autodetects the language of the blog by calling the language method on the blog object inside the tag's context. I am guessing that you are using an English language distribution and that it is returning "en" for the source language.

  6. November 26, 2009 at 20:25 | #1

    Yes, I am using English distribution.

  7. November 30, 2009 at 12:57 | #1

    That would be why it didn't work. It was detecting an "en->en" translation. When I get a chance today or tomorrow, I'll post a second beta which lets you specify a source language in the attribute modifier.

  8. December 21, 2009 at 04:52 | #1

    Thank you very much!

  9. July 28, 2010 at 09:53 | #1

    Your download link does not seem to work. Is this plugin still working?

  10. July 28, 2010 at 10:34 | #1

    @jeffreysteuartgrossman

    You should download it from GitHub:

    http://github.com/mikert