I want to give an editor the permission to translate only (a) specific language(s). By default a user can translate content to all available languages.
Any ideas?
There is an awesome module for it... Translation Management
You can specify that a user can only translate from English to Spanish and another user can translate from English to French and you can also have a translation administrator to maintain translation jobs.. And it provides a beautiful interface for it.. There is a Guide for it too..
Download the patch from HERE.
This patch changes all hook_perm()
.
<?php
$perms = array(
'permission internal name' => array(
'title' => t('Permission title'),
'description' => t('The permissions does this and that.'),
),
}
?>
Read the comments for better understanding. Read Here.