How can I navigate to the translation overview?

As administrator I have the permission to see the overview. The module is installed and enabled.
But I'm unable to figure out how to access it.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

whitingx’s picture

I'm having the same issue, I can see the module is working as when I go to the translate tab on an item of content the translation_overview icon and the priority radio buttons are available.

It seems as if the link to the main translation_overview page is missing from where it used to be located under

configuration > content authoring

Any assistance with this would be greatly appreciated.

Thanks.

sonuku’s picture

Looks like its living at:

admin/content/translation-overview-manage
and
admin/content/translation-overview-assignments

Could be a work in progress?
Subscribing.

Ritch’s picture

Subscribing.

redben’s picture

Status: Active » Closed (fixed)

The overview page is accessible under Config : admin/config/content/translation-overview-manage

rondev’s picture

Status: Closed (fixed) » Active

It seems that there is something broken in 7.x-2.x-dev.
admin/config/content/translation-overview-manage fallback to admin/config/content
There is no "Translation overview" in "Content authoring"

shadysamir’s picture

Same for me with latest dev. admin/content/translation-overview-manage works but there is no link anywhere in config.

rondev’s picture

What I find strange is that on my test, which database is a copy of my online site, I just saw that I can access admin/config/content/translation-overview-manage and see it on Configuration page. The differences between test and online sites are:

  • Updates of some modules
  • Some more modules
  • Not the same server (apache, php, ...)

With two sites that are so similar with two different behavior, I may find where is the issue. But help is appreciated to find too.

Edit: On the test working site, the Translation overview version is 7.x-2.0-beta1

rondev’s picture

Category: support » feature

Line 12 of translation_overview.module:
The page is no more in admin/config/content/translation-overview-manage
but in admin/content/translation-overview-manage

It doesn't appear in the configuration page but it should in content page and it doesn't either.
Change come frome here: #1158294-8: Patch that resolves all the issues with 7.x

Edit: It appears on menu management for content /admin/structure/menu/manage/management but not on the content page.

rondev’s picture

Category change was not wanted for the moment.

FriOne’s picture

Issue summary: View changes

Access argument apply default access arguments that is 'access content overview'. Module must use another access callback for this page, where will be set default language string.
Workaround:

/**
 * Implements hook_menu_alter().
 */
function MODULE_menu_alter(&$items) {
  if (!empty($items['admin/content/translation-overview-manage'])) {
    // Change this callback because translation_overview module has bug.
    // Native callback has default access argument which is 'access content overview', but its first argument must be lang_code.
    $items['admin/content/translation-overview-manage']['access callback'] = 'aruba_misc_translation_overview_admin_access_callback';
    $items['admin/content/translation-overview-manage']['access arguments'] = array();
  }
}
/**
 * Access callback for translation_overview module admin page.
 *
 * Path: 'admin/content/translation-overview-manage'
 */
function MODULE_misc_translation_overview_admin_access_callback() {
  global $language;
  return user_access('manage ' . ($language->language) . ' translation overview priorities');
}
dazz’s picture

Category: Feature request » Bug report
Priority: Normal » Major
Status: Active » Fixed
FileSize
935 bytes

Patch to fix FriOne's discovery

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

kyberman’s picture

Status: Closed (fixed) » Needs review
FileSize
528 bytes

I have to reopen this issue, because there are still problems with permissions in current dev.

Function translation_overview_is_manager is used in translation_overview.pages.inc for testing $lang_code permissions, so we don't need to change its arguments. But the main problem is that the callback of "admin/content/translation-overview-manage" page gets string "access content overview" in $lang_code (I don't know why - maybe inherited from "admin/content"), so it always returns FALSE for no-admin.

I created simple dirty patch for that - user also needs the "access content overview" permission assigned.

Could you please test it? Thanks.

Jej’s picture

#13 solved for me. Thank you kyberman.

J.

stefan.r’s picture

Status: Needs review » Needs work

This solves the immediate issue, but not the underlying problem, so setting back to NW as $lang_code should not be equal to "access content overview"

fox mulder’s picture

#13 solves the problem, thanks kyberman

kyberman’s picture

Status: Needs work » Closed (outdated)