Google Translate

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

8 Comments

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

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

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.

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.

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.

Yes, I am using English distribution.

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.

Thank you very much!

Leave a comment

Advertisements

Recent Entries

Google Translate 1.0 final has been released
Version 1.0 of my Google Translate plugin is officially released.…
How to associate an asset with an entry
As far as I can tell, there is not much documentation out there for associating an asset with an entry…
Image Gallery 3.0
Image Gallery ExtJs SearchingImage Gallery ExtJs Loading More and MenuImage Gallery ExtJs LoadingImage Gallery with Ext On the OpenMelody mailing…
OpenID accepted here Learn more about OpenID