投稿フォームに「翻訳」ボタン
ブログ | 2008/6/19 14:11
'Google AJAX Language API'を使って、自分の書いた本文を翻訳してみるボタンをつけてみました。投稿フォーム、テキストエリア右上にあります。
デフォルトは英語で、セレクタ切替えでアラビア語やロシア語やチェコ語に翻訳されます。
試行錯誤してみたところ250文字までしか翻訳できないようなので、長文の場合は250文字でカットされます。
Google AJAX Language API
http://code.google.com/apis/ajaxlang...
・・・翻訳ペースト↓
'Google AJAX Language API' with his written text to try to translate button on the camera. Post form, the text area on the right.
The default is English, switching selector, Russian and Arabic and translated into Czech.
I did it by trial and error to translate only 250 characters, so if you are 250 characters long cut off.
デフォルトは英語で、セレクタ切替えでアラビア語やロシア語やチェコ語に翻訳されます。
試行錯誤してみたところ250文字までしか翻訳できないようなので、長文の場合は250文字でカットされます。
Google AJAX Language API
http://code.google.com/apis/ajaxlang...
・・・翻訳ペースト↓
'Google AJAX Language API' with his written text to try to translate button on the camera. Post form, the text area on the right.
The default is English, switching selector, Russian and Arabic and translated into Czech.
I did it by trial and error to translate only 250 characters, so if you are 250 characters long cut off.


