This user has no favorite topics.
Favorite Forum Topics
Forum Topics Created
Status |
Topic
|
Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
The translate icon “pen” is disabled and show “You can only edit translations assigned to you
Started by: king-yinW in: English Support |
|
0 | 10 | 18 minutes ago | |
The translate icon “pen” is disabled and show “You can only edit translations assigned to you…
Started by: king-yinW
in: English Support
Problem: The client is using WPML on a WordPress site and is facing issues where the translate icon 'pen' is disabled with a message 'You can only edit translations assigned to you' for custom role accounts. They need to enable the translate icon and resolve the translation assignment issue. Solution: First, ensure that all WPML plugins are up-to-date. For updating, backup the site and navigate to WP > Plugins > Add new > Commercial Tab.. To address the issue of the disabled translate icon, if a translation job is assigned to one translator, it cannot be accessed by another unless the assigned translator resigns from the job. For setting up local translators and language pairs, check How to Set Up Local Translators and Language Pairs. To allow non-admin users (custom role) to manage translations, add the following code to your theme's functions.php file: function wpml_custom_assign_capability() { $users = get_users(); foreach ($users as $user) { if (!in_array('subscriber', $user->roles) && !in_array('admin', $user->roles)) { if (!user_can($user, 'wpml_manage_translation_management')) { $user->add_cap('wpml_manage_translation_management'); } } } } add_action('init', 'wpml_custom_assign_capability'); Additionally, add this filter to allow users with the 'editor' role and the 'translate' capability to translate: 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); If issues persist, we recommend opening a new support ticket for further assistance. We also advise checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. For further assistance, please visit our support forum at WPML Support Forum. |
|
1 | 10 | 1 week, 5 days ago | |
There are a installation issue about WPML and wp-404-caching
Started by: king-yinW
in: English Support
Problem: Please note that this solution might be irrelevant if it's outdated or not applicable to your case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket at our support forum. |
|
0 | 2 | 7 months, 2 weeks ago | |
The translation string disappear uaually and need to be saved again
Started by: king-yinW in: English Support |
|
2 | 2 | 11 months ago | |
Load incorrect Author in edit POST page
Started by: king-yinW in: English Support |
|
2 | 2 | 11 months, 3 weeks ago | |
Duplicate the subdirectory and language code in category page
Started by: king-yinW in: English Support |
|
2 | 2 | 1 year, 7 months ago |