I use the VBO module in a multi language drupal site (english and french). To define which actions are allowed according to the user role, I use the actions permission module. It works perfectly when I consult the view in the language I used to set the permissions but when I consult the view in the other language, the VBO operations selection list is empty !

I saw that when I save permissions in one language (ex in the english page /admin/user/permissions), it erases permissions in the other language (ex in the french page /fr/admin/user/permissions) so in the view page in english I see the correct operations list according to my permission but in the view page in french the list is empty and I can't perform any actions ...

What can I do to set permissions in every language used in my drupal site ?

Comments

infojunkie’s picture

Assigned: Unassigned » infojunkie

Thanks for your report. I'll work on this issue.

infojunkie’s picture

Status: Active » Fixed

Fixed in the latest dev. Permissions are now displayed with the English label, regardless of the language used. Please try it (12 hours from now) and let me know.

Note that you can still translate the whole permission string "execute Action Label (action_callback)".

dalf’s picture

Thanks for this quick answer. The latest dev corrects the permissions screen but when I want to edit the view which uses VBO or when I go on the view page, I have this PHP error :

Parse error: syntax error, unexpected ')', expecting ']' in D:\WEB_DRUPAL\sites\all\modules\contribs\views_bulk_operations\views_bulk_operations_plugin_style.inc on line 109

infojunkie’s picture

That was a typo that I fixed a while later :-S Try it again now.

dalf’s picture

Thanks, it works now :-)

Status: Fixed » Closed (fixed)

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