[Attente de la confirmation de l'utilisateur] Translate selected strings is not showing up
Il s'agit du forum d'assistance technique de WPML, le plug-in multilingue pour WordPress.
Il est accessible à tous, toutefois seuls les clients de WPML peuvent y publier leurs messages. L'équipe du WPML répond sur le forum 6 jours par semaine, 22 heures par jour.
Sun
Mon
Tue
Wed
Thu
Fri
Sat
-
6:00 – 12:00
8:00 – 12:00
6:00 – 12:00
8:00 – 12:00
6:00 – 12:00
-
-
13:00 – 15:00
13:00 – 17:00
13:00 – 15:00
13:00 – 17:00
13:00 – 15:00
-
Fuseau horaire du supporter: America/Lima (GMT-05:00)
Les langues: Anglais (English )Français (Français )
Fuseau horaire: America/Lima (GMT-05:00)
Hello,
I tried to add the manage translation capability which was missing but it broke the serialization.
In the _user_roles key, please remove: b:1;s:19:"manage_translations"
Usually the code below would fix WPML capabilities but that doesn't work on your site (maybe a conflict or restriction).
---
The code below performs a reset on icl capabilities (add and run once in your active site's functions.php )
To be used when some WPML menus are missing or authorization is required
Add the code below into the functions.php file of your active theme
Visit your homepage (frontend - to run the code)
Remove the code from the functions.php file and see if anything changed in the backend
function wpmlsupp_1706_reset_wpml_capabilities() {
if ( function_exists( 'icl_enable_capabilities' ) ) {
icl_enable_capabilities();
}
}
add_action( 'shutdown', 'wpmlsupp_1706_reset_wpml_capabilities' );
I have restored the user_roles option from a previous state - before the beta version update. That should fix the issue maybe ? Please review and let me know if you can fix it now.
Les langues: Anglais (English )Français (Français )
Fuseau horaire: America/Lima (GMT-05:00)
Thank you,
I think that the issue is resolved now. I couldn't identify the root cause or why you were missing this capability (or even why our code couldn't reset capabilities). But manually updating the database seems to work.
Could you please run some test and see if you have access to all WPML functionalities?
- Try to select strings, send them to the basket, assign a translator, go to WPML > Translations and take the translation?
Once in our Advanced Translation Editor (ATE) you will be able to use the automatic translation.