Internationalization and block title per language

Created on 30 April 2014, almost 11 years ago
Updated 26 March 2025, 11 days ago

Hi there,
I have some problem with permissions of this module and Block Internationalization.
I want to set user permission in order to afford user to modify the block's title by language.
I'm trying to modify the module to do this but I'am not able.
Can anyone help me?

In file block_access.module I added this line, in constant definitions:
define('BLOCK_ACCESS_MENU_TRANSLATE', 'admin/structure/block/manage/%/%/translate');
define('BLOCK_ACCESS_MENU_TRANSLATE_LANG', 'admin/structure/block/manage/%/%/translate/%');

and in function block_access_menu_alter i added:
$items[BLOCK_ACCESS_MENU_TRANSLATE_LANG]['access callback'] = 'block_access_check_config';
$items[BLOCK_ACCESS_MENU_TRANSLATE_LANG]['access arguments'] = array(4, 5);

but when I try to access the page for language translation (which has 3 parameters in the url) always sends me back to the list page translations

🐛 Bug report
Status

Closed: won't fix

Version

1.5

Component

Code

Created by

🇮🇹Italy mavdiablo

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇧🇪Belgium dieterholvoet Brussels

    Drupal 7 is EOL as of 5 January 2025 and so is the Drupal 7 version of this module. Marking as Closed (won't fix). Feel free to re-open if this issue is still present in any supported version of the module.

Production build 0.71.5 2024