| Project: | OpenCalais |
| Version: | 6.x-3.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | febbraro |
| Status: | active |
Issue Summary
Many of my nodes are in a non-English language (e.g. German) for which there is no support in OpenCalais. Because I don't want to wait years (?) until OpenCalais supports a specific language, I use in one application a Python script which does an automatic translate of a text into English using Google Translate and after the translation it uses OpenCalais for tagging. I have tested it with a couple of hundreds blog post in German and it works fine. It would be great to include this option in your module. Just add a check box (pre-translate yes or no) in the configuration screen. If it is checked, every node is first translated into English. If the original text is already in English, the text returned by Google Translate is identical to the original text. The language of the original text has not to be specified. Google Translate can detect it.
I have appended the Python code for the translation.
Comments
#1
Interesting idea. We will try to work something like this into the module.
One good thing we did do is add a hook_calais_body_alter which can be used to do the translation. Ideally this will be a separate module.
#2
Would like to have the semantic proxy to support to get the non-english content from the feed and to display it correct into the text field. Hope it will be a very soon feature.