Here is the drupal 7 version of the module googleLanguageApi. Enjoy!

CommentFileSizeAuthor
googleLanguageApi.zip9.41 KBbappa.sarkar

Comments

sidharthap’s picture

Status: Needs review » Needs work

Thank you Bappa for sharing the D7 version. I have go through this module and found some error. Here is my error details.
I enabled this module with a fresh D7 installation. After module enable, it displays
Notice: Undefined index: Hindi in googleLanguageApi_form_alter() (line 120 of /sites/all/modules/googleLanguageApi/googleLanguageApi.module).

Notice: Undefined index: language in googleLanguageApi_form_alter() (line 125 /sites/all/modules/googleLanguageApi/googleLanguageApi.module).
Navigating admin configuration page another notice message
Notice: Undefined index: #type in template_preprocess_search_block_form() (line 1072 of /modules/search/search.module)

Suggestions :
1 - Add a test for this module. (Simple test can be run)
2 - Correct some coding standard issue like line 56, 64, 103, 105, 110, 120, 125, 126
3 - Add configuration link to info file.
4 - Add permission for configuration in module file.

sidharthap’s picture

I just run coder for this module. here is my comments:
Please correct "95 normal warnings" as mentioned by coder module.

Nipendra’s picture

Are there any solution for this error as mentioned by sidharthapa!