This thread is resolved. Here is a description of the problem and solution.
Problem:
Users with editor user role are not able to see/edit translations done by other users and instead redirected to WPML -> Translations page
Solution:
- Edit theme/child theme functions.php and place/save the following code in the file. This will allow all Editor users on the site to edit translations done by other users also.
add_filter('wpml_user_can_translate', function ($user_can_translate, $user){ if (in_array('editor', (array) $user->roles, true) && current_user_can('translate')) { return true; } return $user_can_translate; }, 10, 2);
Relevant Documentation:
N/A
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
This topic contains 2 replies, has 2 voices.
Last updated by 1 year, 4 months ago.
Assisted by: Subash Chandra Poudel.