Can the following change please be made to version 7:

$items['admin/config/gtranslate'] = array(
        'title' => 'GTranslate',
        'description' => 'GTranslate module settings control',
        'page callback' => 'drupal_get_form',
        'page arguments' => array('gtranslate_admin'),
        'access arguments' => array('administer site configuration'),
        'type' => MENU_NORMAL_ITEM
    );

Changes the menu path and the permission. This puts Gtranslate in the right spot under /config (not in the Toolbar) with a more appropriate permission.

Issue fork gtranslate-1272306

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kevinquillen’s picture

Sorry, that menu path should be 'admin/config/regional/gtranslate'.

beltofte’s picture

Title: Minor fixes » Move configuration menu item to "Regional and language"
beltofte’s picture

FileSize
680 bytes

The attached patch fixes this issue. The module it self could really need heave code clean up to follow the official Drupal coding standards. Would gladly do this if the maintainer was not selling commercial versions of the code!

kevinquillen’s picture

Aren't there a lot of new Google APIs out now? Why not branch off a new ver? You can request maintainer status from d.o. if the original maintainer is not around.

beltofte’s picture

Not planning to be part of this project and maintain it, because the current maintainer is distribution and developing on http://gtranslate.net instead of d.o, and also selling commercial versions of it http://gtranslate.net/features.

So if I need a module like this, would I probably create a new module and project on d.o.

Simon Georges’s picture

Status: Active » Reviewed & tested by the community

I can confirm this patch works as expected, and is needed to have the configuration screen correctly working.

Simon Georges’s picture

Version: 7.x-1.7 » 7.x-1.9

In current version too.

mcannon’s picture

Issue summary: View changes
Status: Reviewed & tested by the community » Needs review
FileSize
730 bytes

I also noticed this issue along with a permission issue of "access administration pages" which is a perm we give most all of our clients so their editing experience is the same on every site. So this made GTranslate settings accessible to editors when it should not be.

The patch I attached solves the path and the access.

heddn’s picture

Status: Needs review » Reviewed & tested by the community
SocialNicheGuru’s picture

Status: Reviewed & tested by the community » Needs review
FileSize
486 bytes

this is an update for the newest gtranslate 2016-Sep-06

apaderno’s picture

Version: 7.x-1.9 » 7.x-1.x-dev
Category: Bug report » Task
apaderno’s picture

Status: Needs review » Reviewed & tested by the community

The Drupal 8 version of the module already uses /admin/config/regional/gtranslate for its route. The same should be done for the Drupal 7 version.

i-trokhanenko’s picture

+1 RTBC
Patch #10 works well for me. Thanks!
Regional and language Gtranslate

urvashi_vora made their first commit to this issue’s fork.