Amro |
|
---|---|
Use Jquery and Google AJAX Language API.
It works on the client side. More information about Google AJAX Language API, you can read here http://code.google.com/intl/ru/apis/ajaxlanguage/documentation/#Translate The meaning of work as follows: Passes to all posts in the topic, in this case on the block with the class "fmsg", on each of the blocks put a new unit with the class "translate_fmsg", parallel to this action produce the translation of text and paste it into a block with the class "translate_fmsg", and block "fmsg" to hide. Sam Post is divided by 300 characters and sent for translation. The original language of post is determined automatically. Basically that's all:) |