Google Translate Widget implements block with translation widget using Google Translate
service.
Unpack the module into sites/all/modules and activate it
on the modules page. Then go to Admin->Structure->Blocks, select
region for block 'Google Translate' and configure it.
If you wish to control the translation of your content on the site, please
register at https://translate.google.com/manager/website/ and enter the resulting hash code
in the field 'Meta content'.
Link to the project:
http://drupal.org/sandbox/Matters/1956976
Git repo:
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/Matters/1956976.git google_translate_widget
My reviews:
http://drupal.org/node/1958798#comment-7286528
http://drupal.org/node/1851164#comment-7286664
http://drupal.org/node/1797764#comment-7286820
http://drupal.org/node/1968118#comment-7290486
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | snapshot1.PNG | 65.64 KB | SamChez |
| google_translate.png | 4.13 KB | Matters |
Comments
Comment #1
berdyshev commentedMove code into 7.x-1.x branch and put in the topic link to repository for non-maintainers.
Comment #2
berdyshev commentedAutomated review
http://ventral.org/pareview/httpgitdrupalorgsandboxmatters1956976git All right!
Manual review
1.
google_translate_widget_widget_block_info()should be namedgoogle_translate_widget_block_info(). The same for thegoogle_translate_widget_widget_install()function.2.
This should be like this (see
format_string()function description)3. In google_translate_widget.module on line 102 you can use
$language_arrayinstead of calling functiongoogle_translate_widget_languages().PS: FYI, when you fix all these issues you have to change issue status to 'needds review'.
Comment #3
Matters commentedCommit f212547 fixed
Comment #4
PA robot commentedWe are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #5
vlad.pavlovic commentedAutomated Review: Passed!
Manual Review:
I know that the module is short and sweet, but you should still have some inline comments, I haven't found any.
In google_translate_widget_block_view($delta = ''), you add javascript (both a file and inline code) using HTML.
Perhaps you should use drupal_add_js.
Comment #6
Matters commentedCommit 14f4ca2 fixed that
Comment #7
SamChez commentedAfter implementing the module it seems to work fairly well however there are some minor issues which seem to be very specific
Otherwise a pretty useful module, really easy to use, for the most part it's just plug and play.
Comment #8
Matters commentedSamChez, thanks for your review. I know about this problems but it appears on the side of Google. I'll try to find a solution to work around this problem.
Comment #8.0
Matters commentedFixed branch
Comment #8.1
Matters commentedAdd one review
Comment #8.2
Matters commentedAdd second review
Comment #9
Matters commentedAdded three reviews of the various modules
Comment #9.0
Matters commentedAdd third review
Comment #10
klausihttp://drupal.org/project/gtranslate
This sounds like a feature that should live in the existing gtranslate project. Module duplication and fragmentation is a huge problem on drupal.org and we prefer collaboration over competition. Please open an issue in the gtranslate issue queue to discuss what you need. You should also get in contact with the maintainer(s) to offer your help to move the project forward. If you cannot reach the maintainer(s) please follow the abandoned project process.
If that fails for whatever reason please get back to us and set this back to "needs review".
Comment #11
PA robot commentedClosing due to lack of activity. Feel free to reopen if you are still working on this application.
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #12
Matters commentedHi, klausi. The module on which you point is a commercial and has another idea. My module is free, easy to install and is a wrapper for the standard Google Translate and without unnecessary problems.
Comment #13
rix.kostenko commentedHi,
Just checked and it does indeed look like gtranslate has an enterprise version.
I get the following from the automatic review:
FILE: /var/www/drupal-7-pareview/pareview_temp/google_translate_widget.module
--------------------------------------------------------------------------------
FOUND 0 ERROR(S) AND 1 WARNING(S) AFFECTING 1 LINE(S)
--------------------------------------------------------------------------------
124 | WARNING | Do not pass empty strings to t()
--------------------------------------------------------------------------------
Also, the variable set by your module is 'translate_widget', but since your module is called google_translate_widget the variable should be named 'google_translate_widget' to avoid clashes.
Comment #14
Matters commentedrix.kostenko, fixed that.
Comment #15
kscheirerIt seems that Google Translate provides very similar functionality. Could you describe how your module differs? Your version is obviously D7, if you can take over that obsolete module then your code can go into a 7.x-1.x branch of that module and be released.
We prefer collaboration over competition, therefore we want to prevent having duplicating modules on drupal.org. If the differences between these modules are not too fundamental for patching the existing one, we would love to see you joining forces and concentrate all power on enhancing one module. (If the existing module is abandoned, please think about taking it over).
----
Top Shelf Modules - Enterprise modules from the community for the community.
Comment #16
PA robot commentedClosing due to lack of activity. Feel free to reopen if you are still working on this application.
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #16.0
PA robot commentedAdded fourth review