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 de WPML répond aux messages du forum 6 jours sur 7, 22 heures sur 24.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum French. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

This topic contains 9 réponses, has 2 participants.

Last updated by Jamal il y a 5 mois et 1 semaine.

Assigned support staff: Jamal.

Auteur Messages
mai 2, 2019 à 11:03

cajusV

Je tente de : traduire une page de Français vers Anglais

URL de (mon) site Internet où le problème apparaît : hidden link

Je m'attendais à voir : une version Anglaise

À la place, j'ai obtenu : La version d'origine

J'utilise Total Theme / WPBackery. Traduction manuelle fonctionne mais dès que je reviens dans le traducteur, cela écrase la version manuelle (avec le texte d'origine en Français au lieu de la traduction en anglais.

Je ne vois où est le problème.

Merci d'avance.

mai 2, 2019 à 4:08 #3726471

Jamal
Supporter

Languages: Anglais (English ) Français (Français )

Timezone: Africa/Casablanca (GMT+01:00)

Bonjour,

Merci d'avoir contacter l'assistance WPML. Je serais heureux de pouvoir vous aider.

Je ne pense pas qu'il est possible de basculer avec les deux modes de traduction(manuelle, via l'éditeur WPML). C'est un changement dans une seule direction. Et des effets de bord pourront apparaitre.

Dans le cas d'usave d'un constructeur de pages comme WPBackery, nous recommandons l'usage de notre éditeur, cela requiert l'installation l'installation des extensions String Translation et Translation Management.

Ce que je recommanderais est de créer une nouvelle page comme la page "/erie/" de la traduire ensuite via l'éditeur de traduction. Ensuite supprimer la page actuelle avec sa traduction et veillez à les supprimer définitivement de la corbeille.
Ensuite mettez à jour les slug sur la nouvelle page et sa traduction, et mettez à jours vos menus si vous en avez besoin.

Je reste à votre disposition.

Cordialement,
Jamal
Assistance WPML

mai 2, 2019 à 5:20 #3727589

cajusV

J'ai peur que ce soit plus compliqué que ça.

Extensions String Translation et Translation Management sont installés.

J'ai crée une nouvelle page simple (sans WPBackery) (img 1)
J'ai crée une peu de texte
J'ai fait la traduction (img 2)
Je vais sur le site en version d'origine (Français) (img 3)
Je passe sur la version anglaise (img 4), et l'ai le titre en anglais (traduction bien prise en compte mais je n'ai pas le contenu de la page en version ENG mais en FR.

mai 2, 2019 à 6:11 #3728097

Jamal
Supporter

Languages: Anglais (English ) Français (Français )

Timezone: Africa/Casablanca (GMT+01:00)

Merci pour votre retour. J'imagine que ce problème qui vous a obligé au premier lieu de traduire votre page manuellement.

Pourriez vous fournir les informations de débogage en suivant cet article.
https://wpml.org/fr/faq/comment-fournir-des-informations-de-debogage-pour-une-assistance-plus-rapide/

Je vais ensuite voir ce que je peux faire, je pourrais avoir besoin de copier votre site localement avec l'extension Duplicator, je vous prie de me dire si c'est possible?

Cordialement,
Jamal

mai 2, 2019 à 6:28 #3728243

cajusV

Pas de problème pour le duplicator.

DEBUG :

{"core":{"Wordpress":{"Multisite":"No","SiteURL":"http:\/\/www.aelyntest.com\/erie","HomeURL":"http:\/\/www.aelyntest.com\/erie","Version":"5.1.1","PermalinkStructure":"\/index.php\/%year%\/%monthnum%\/%day%\/%postname%\/","PostTypes":"post, page, attachment, revision, nav_menu_item, custom_css, customize_changeset, oembed_cache, user_request, wp_block, wpforms, portfolio, staff, testimonials, wpforms_log, vc4_templates, wpcf7_contact_form, vc_grid_item, templatera, amn_wpforms-lite","PostStatus":"publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed"},"Server":{"jQueryVersion":"1.12.4","PHPVersion":"7.2.15","MySQLVersion":"5.5.30","ServerSoftware":"Apache"},"PHP":{"MemoryLimit":"512M","WP Memory Limit":"40M","UploadMax":"128M","PostMax":"130M","TimeLimit":"300","MaxInputVars":"16000","MBString":true,"libxml":true}},"plugins":{"active_plugins":{"sitepress-multilingual-cms\/sitepress.php":{"Plugin Slug":"sitepress-multilingual-cms","Name":"WPML Multilingual CMS","PluginURI":"https:\/\/wpml.org\/","Version":"4.2.6","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com\/","TextDomain":"sitepress-multilingual-cms","DomainPath":"","Network":false,"Title":"WPML Multilingual CMS","AuthorName":"OnTheGoSystems"},"contact-form-7\/wp-contact-form-7.php":{"Plugin Slug":"","Name":"Contact Form 7","PluginURI":"https:\/\/contactform7.com\/","Version":"5.1.1","Author":"Takayuki Miyoshi","AuthorURI":"https:\/\/ideasilo.wordpress.com\/","TextDomain":"contact-form-7","DomainPath":"\/languages\/","Network":false,"Title":"Contact Form 7","AuthorName":"Takayuki Miyoshi"},"envato-market\/envato-market.php":{"Plugin Slug":"","Name":"Envato Market","PluginURI":"https:\/\/envato.com\/market-plugin\/","Version":"2.0.1","Author":"Envato","AuthorURI":"https:\/\/envato.com","TextDomain":"envato-market","DomainPath":"\/languages\/","Network":false,"Title":"Envato Market","AuthorName":"Envato"},"js_composer\/js_composer.php":{"Plugin Slug":"","Name":"WPBakery Page Builder","PluginURI":"http:\/\/wpbakery.com","Version":"5.7","Author":"Michael M - WPBakery.com","AuthorURI":"http:\/\/wpbakery.com","TextDomain":"js_composer","DomainPath":"","Network":false,"Title":"WPBakery Page Builder","AuthorName":"Michael M - WPBakery.com"},"revslider\/revslider.php":{"Plugin Slug":"","Name":"Slider Revolution","PluginURI":"https:\/\/revolution.themepunch.com\/","Version":"5.4.8.2","Author":"ThemePunch","AuthorURI":"https:\/\/themepunch.com","TextDomain":"revslider","DomainPath":"","Network":false,"Title":"Slider Revolution","AuthorName":"ThemePunch"},"templatera\/templatera.php":{"Plugin Slug":"","Name":"Templatera","PluginURI":"http:\/\/vc.wpbakery.com\/","Version":"1.1.12","Author":"WPBakery","AuthorURI":"http:\/\/wpbakery.com","TextDomain":"templatera","DomainPath":"","Network":false,"Title":"Templatera","AuthorName":"WPBakery"},"updraftplus\/updraftplus.php":{"Plugin Slug":"","Name":"UpdraftPlus - Backup\/Restore","PluginURI":"https:\/\/updraftplus.com","Version":"1.16.14","Author":"UpdraftPlus.Com, DavidAnderson","AuthorURI":"https:\/\/updraftplus.com","TextDomain":"updraftplus","DomainPath":"\/languages","Network":false,"Title":"UpdraftPlus - Backup\/Restore","AuthorName":"UpdraftPlus.Com, DavidAnderson"},"variable-column-block\/gutenberg-variable-column-block.php":{"Plugin Slug":"","Name":"Variable Column Block","PluginURI":"","Version":"1.0.2","Author":"Ramiz Manked","AuthorURI":"","TextDomain":"variable-column-block","DomainPath":"","Network":false,"Title":"Variable Column Block","AuthorName":"Ramiz Manked"},"wpforms-lite\/wpforms.php":{"Plugin Slug":"","Name":"WPForms Lite","PluginURI":"https:\/\/wpforms.com","Version":"1.5.2.3","Author":"WPForms","AuthorURI":"https:\/\/wpforms.com","TextDomain":"wpforms-lite","DomainPath":"languages","Network":false,"Title":"WPForms Lite","AuthorName":"WPForms"},"wpml-media-translation\/plugin.php":{"Plugin Slug":"wpml-media-translation","Name":"WPML Media","PluginURI":"https:\/\/wpml.org\/","Version":"2.5.2","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com\/","TextDomain":"wpml-media-translation","DomainPath":"","Network":false,"Title":"WPML Media","AuthorName":"OnTheGoSystems"},"wpml-string-translation\/plugin.php":{"Plugin Slug":"wpml-string-translation","Name":"WPML String Translation","PluginURI":"https:\/\/wpml.org\/","Version":"2.10.4","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com\/","TextDomain":"wpml-string-translation","DomainPath":"","Network":false,"Title":"WPML String Translation","AuthorName":"OnTheGoSystems"},"wpml-translation-management\/plugin.php":{"Plugin Slug":"wpml-translation-management","Name":"WPML Translation Management","PluginURI":"https:\/\/wpml.org\/","Version":"2.8.5","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com\/","TextDomain":"wpml-translation-management","DomainPath":"","Network":false,"Title":"WPML Translation Management","AuthorName":"OnTheGoSystems"}},"mu_plugins":[],"dropins":[]},"theme":{"Name":"Total","ThemeURI":false,"Author":"WPExplorer","AuthorURI":"https:\/\/themeforest.net\/user\/wpexplorer","Template":"","Version":"4.8.3","TextDomain":"total","DomainPath":"","ParentName":""},"extra-debug":{"WMPL":{"hide_upgrade_notice":"4.2.1","icl_capabilities_verified":true,"active_languages":["en","es","fr"],"interview_translators":1,"existing_content_language_verified":1,"language_negotiation_type":"3","theme_localization_type":3,"icl_lso_link_empty":0,"sync_page_ordering":1,"sync_page_parent":1,"sync_page_template":1,"sync_ping_status":1,"sync_comment_status":1,"sync_sticky_flag":1,"sync_password":1,"sync_private_flag":1,"sync_post_format":1,"sync_delete":0,"sync_delete_tax":0,"sync_post_taxonomies":1,"sync_post_date":0,"sync_taxonomy_parents":0,"translation_pickup_method":0,"notify_complete":1,"translated_document_status":1,"remote_management":0,"auto_adjust_ids":1,"alert_delay":0,"promote_wpml":0,"automatic_redirect":0,"remember_language":24,"icl_lang_sel_copy_parameters":"","translated_document_page_url":"auto-generate","sync_comments_on_duplicates ":0,"seo":{"head_langs":1,"canonicalization_duplicates":1,"head_langs_priority":1},"posts_slug_translation":{"on":1,"string_name_migrated":true},"urls":{"directory_for_default_language":0,"show_on_root":"","root_html_file_path":"","root_page":0,"hide_language_switchers":1},"xdomain_data":"1","custom_posts_sync_option":{"post":1,"page":1,"attachment":1,"portfolio":1,"services":1,"slides":1,"elementor_library":2,"ublfrontpageslider":1,"ublteammember":1,"ublalfieportfolio":1,"vc_grid_item":1},"taxonomies_sync_option":{"category":1,"post_tag":1,"translation_priority":1,"portfolio_tag":1,"portfolio_category":1,"services_tag":1,"services_category":1,"elementor_library_type":0,"ublalfieportfolio-categories":1},"tm_block_retranslating_terms":1,"admin_default_language":"_default_","taxonomy_names_checked":true,"ajx_health_checked":true,"default_categories":{"fr":"27","en":"28","es":"29"},"default_language":"fr","setup_wizard_step":5,"translation-management":{"custom_fields_translation":{"title":2,"description":2,"keywords":2,"_edit_last":0,"_edit_lock":0,"_wp_page_template":0,"_wp_attachment_metadata":0,"original_post_id":0,"_wpml_original_post_id":0,"_wp_old_slug":0,"_icl_translator_note":0,"_alp_processed":0,"_pingme":0,"_encloseme":0,"_icl_lang_duplicate_of":0,"_thumbnail_id":0,"_wp_attached_file":0,"_wp_attachment_image_alt":2,"wpex_services_icon":1,"wpex_slides_url":1,"wpex_slides_url_target":1,"wpex_slides_video":1,"_wpml_media_duplicate":1,"_wpml_media_featured":1,"_elementor_page_settings":3,"_elementor_edit_mode":1,"_elementor_template_type":1,"_elementor_version":1,"postition":1,"twitterlink":1,"facebooklink":1,"linkedinlink":1,"githublink":1,"googlepluslink":1,"gallerytype":1,"sidebarplacement":1,"client":1,"galleryimage1":1,"galleryimage2":1,"galleryimage3":1,"galleryimage4":1,"galleryimage5":1,"blogtype":1,"blogsiders":1,"image1":1,"image2":1,"image3":1,"h1title":2,"phrase":2,"_vc_post_settings":0},"custom_fields_readonly_config":["title","description","keywords","_edit_last","_edit_lock","_wp_page_template","_wp_attachment_metadata","original_post_id","_wpml_original_post_id","_wp_old_slug","_icl_translator_note","_alp_processed","_pingme","_encloseme","_icl_lang_duplicate_of","_thumbnail_id","_wp_attached_file","_wp_attachment_image_alt","_vc_post_settings","_wpml_media_duplicate","_wpml_media_featured"],"custom_fields_translation_custom":[],"custom_fields_translation_custom_readonly":[],"doc_translation_method":1,"__custom_types_readonly_config_prev":[],"custom_types_readonly_config":[],"__custom_fields_readonly_config_prev":["title","description","keywords","_edit_last","_edit_lock","_wp_page_template","_wp_attachment_metadata","original_post_id","_wpml_original_post_id","_wp_old_slug","_icl_translator_note","_alp_processed","_pingme","_encloseme","_icl_lang_duplicate_of","_thumbnail_id","_wp_attached_file","_wp_attachment_image_alt","_vc_post_settings","_wpml_media_duplicate","_wpml_media_featured"],"__custom_term_fields_readonly_config_prev":[],"custom_term_fields_readonly_config":[],"taxonomies_readonly_config":{"translation_priority":1},"custom-types_readonly_config":{"attachment":1,"vc_grid_item":1}},"custom-types_sync_option":{"attachment":1,"portfolio":1,"services":1,"slides":1,"elementor_library":2,"ublfrontpageslider":1,"ublteammember":1,"ublalfieportfolio":1,"vc_grid_item":1},"language_selector_initialized":1,"languages_order":["fr","en","es"],"dont_show_help_admin_notice":true,"setup_complete":1,"site_does_not_use_icl":true,"st":{"WPML_ST_Upgrade_Migrate_Originals_has_run":true,"WPML_ST_Upgrade_Db_Cache_Command_2.4.2_1_has_run":true,"WPML_ST_Upgrade_Display_Strings_Scan_Notices_has_run":true,"WPML_ST_Upgrade_MO_Scanning_3_has_run":true,"WPML_ST_Upgrade_DB_String_Name_Index_2_has_run":true,"WPML_ST_Upgrade_DB_Longtext_String_Value_has_run":true,"strings_per_page":"100","icl_st_auto_reg":"disable","strings_language":"en","translated-users":[],"db_ok_for_gettext_context":true,"sw":[],"plugin_localization_domains":{"wpml-media-translation\/plugin.php":{"wpml-media":125},"wpml-string-translation\/plugin.php":{"wpml-string-translation":279},"updraftplus\/updraftplus.php":{"updraftplus":1418},"wpforms-lite\/wpforms.php":{"wpforms-lite":1326},"sitepress-multilingual-cms\/sitepress.php":{"installer":1207,"sitepress":15},"wpml-translation-management\/plugin.php":{"wpml-translation-management":915},"ml-slider\/ml-slider.php":{"ml-slider":217},"atomic-blocks\/atomicblocks.php":{"atomic-blocks":137},"block-gallery\/class-block-gallery.php":{"block-gallery":6},"elementor\/elementor.php":{"elementor":961},"jetsticky-for-elementor\/jetsticky-for-elementor.php":{"jetsticky-for-elementor":110},"advanced-gutenberg\/advanced-gutenberg.php":{"advanced-gutenberg":300},"js_composer\/js_composer.php":{"js_composer":198},"contact-form-7\/wp-contact-form-7.php":{"contact-form-7":356},"column-shortcodes\/column-shortcodes.php":{"column-shortcodes":37}},"theme_localization_domains":{"wpex-pytheas":{"pytheas":268,"cmb2":214},"veganos":{"veganos":195},"twentynineteen":{"twentynineteen":90},"twentyfifteen":{"twentyfifteen":79},"twentyseventeen":{"twentyseventeen":75},"Total":{"total":2174}}},"admin_text_3_2_migration_complete_40cd750bba9870f18aada2478b24840a":true,"xliff_newlines":2,"tm_xliff_version":"12","show_translations_flag":1,"doc_translation_method":1,"admin_text_3_2_migration_complete_57e041dbf29f99d54aec2da28ef04455":true,"just_reactivated":0,"WPML_Translate_Link_Target_Global_State":true,"language_domains":{"en":"en.aelyntest.com","es":"es.aelyntest.com"},"language_per_domain_sso_enabled":true},"installer":{"version":"1.9.4","repositories":{"wpml":{"api-url":"https:\/\/api.wpml.org\/","products":"http:\/\/d2salfytceyqoe.cloudfront.net\/wpml33-products.json","subscription":{"key":"tq3gWgvGBm","data":{"subscription_type":6719,"expires":"2020-02-17","status":"1"},"registered_by":1,"site_url":"http:\/\/www.aelyntest.com\/erie"}},"toolset":{"api-url":"https:\/\/api.toolset.com\/","products":"http:\/\/d7j863fr5jhrr.cloudfront.net\/toolset33-products.json","subscription":""}},"instances":{"\/home\/aelyntes\/www\/erie\/wp-content\/plugins\/sitepress-multilingual-cms\/vendor\/otgs\/installer\/installer.php":{"bootfile":"\/home\/aelyntes\/www\/erie\/wp-content\/plugins\/sitepress-multilingual-cms\/vendor\/otgs\/installer\/installer.php","version":"1.9.4","args":{"plugins_install_tab":1,"site_key_nags":[{"repository_id":"wpml","product_name":"WPML","condition_cb":[{"locale_utils":{},"footer_preview":false,"icl_translations_cache":null,"icl_language_name_cache":{"name":"language_name","cache_to_option":true,"cache_needs_saving":false},"icl_term_taxonomy_cache":null,"wpdb":{"show_errors":false,"suppress_errors":false,"last_error":"","num_queries":123,"num_rows":0,"rows_affected":0,"insert_id":32988,"last_query":"SELECT option_value FROM 99584erieoptions WHERE option_name = \u0027auto_core_update_failed\u0027 LIMIT 1","last_result":[],"queries":null,"prefix":"99584erie","base_prefix":"99584erie","ready":true,"blogid":0,"siteid":0,"tables":["posts","comments","links","options","postmeta","terms","term_taxonomy","term_relationships","termmeta","commentmeta"],"old_tables":["categories","post2cat","link2cat"],"global_tables":["users","usermeta"],"ms_global_tables":["blogs","blogmeta","signups","site","sitemeta","sitecategories","registration_log","blog_versions"],"comments":"99584eriecomments","commentmeta":"99584eriecommentmeta","links":"99584erielinks","options":"99584erieoptions","postmeta":"99584eriepostmeta","posts":"99584erieposts","terms":"99584erieterms","term_relationships":"99584erieterm_relationships","term_taxonomy":"99584erieterm_taxonomy","termmeta":"99584erietermmeta","usermeta":"99584erieusermeta","users":"99584erieusers","blogs":null,"blogmeta":null,"blog_versions":null,"registration_log":null,"signups":null,"site":null,"sitecategories":null,"sitemeta":null,"field_types":{"post_author":"%d","post_parent":"%d","menu_order":"%d","term_id":"%d","term_group":"%d","term_taxonomy_id":"%d","parent":"%d","count":"%d","object_id":"%d","term_order":"%d","ID":"%d","comment_ID":"%d","comment_post_ID":"%d","comment_parent":"%d","user_id":"%d","link_id":"%d","link_owner":"%d","link_rating":"%d","option_id":"%d","blog_id":"%d","meta_id":"%d","post_id":"%d","user_status":"%d","umeta_id":"%d","comment_karma":"%d","comment_count":"%d","active":"%d","cat_id":"%d","deleted":"%d","lang_id":"%d","mature":"%d","public":"%d","site_id":"%d","spam":"%d"},"charset":"utf8mb4","collate":"utf8mb4_unicode_ci","func_call":"$db-\u003Equery(\u0022SELECT option_value FROM 99584erieoptions WHERE option_name = \u0027auto_core_update_failed\u0027 LIMIT 1\u0022)","is_mysql":true,"categories":"99584eriecategories","post2cat":"99584eriepost2cat","link2cat":"99584erielink2cat"}},"setup"]}]},"delegated":true}}}}}
mai 3, 2019 à 2:15 #3735093

Jamal
Supporter

Languages: Anglais (English ) Français (Français )

Timezone: Africa/Casablanca (GMT+01:00)

Bonjour,

je viens de construire localement une copie de votre site, sans avoir fait aucune manipulation, la page anglaise est traduite. Voir capture attachée.

Je soupçonne à ce moment là qu'il y a un mécanisme de caching qui interfère avec WPML. Aucune extension ne me semble faire du caching, pour confirmer cela, désactiver toutes les extensions non WPML et vérifier si la page anglaise est bien traduite.

Pouvez vous demander à votre hébergeur si il y a un système de cache à leur niveau comme (Redis, Varnish ou autres).

Pourriez vous aussi activer le débugging et essayer de traduire une page, il se peut qu'une erreur soit écrite sur le fichier des logs, sur ma copie locale il y a eu juste des warning sur RevSlider, probablement relatifs à la différence de version PHP entre votre serveur et le mien.
https://codex.wordpress.org/fr:D%C3%A9bogage_dans_WordPress#Exemple_de_wp-config.php_pour_le_d.C3.A9bogage

Pourriez vous aussi fournir les informations de débogage en suivant cet article.
https://wpml.org/fr/faq/comment-fournir-des-informations-de-debogage-pour-une-assistance-plus-rapide/

Je reste à votre disposition.

Cordialement,
Jamal

mai 4, 2019 à 7:14 #3739363

cajusV

Bonjour,

Désactiver toutes les extension à part WPML ne change rien au problème 🙁

J'ai également testé en local et cela marche, je vais donc questionner OVH pour voir d'où cela pourrait venir.

Ci-joint les informations de débogage après l'activation du débogage et la creation d'une nouvelle page.

Merci.

Cordialement,

Cajus

mai 6, 2019 à 10:40 #3747119

Jamal
Supporter

Languages: Anglais (English ) Français (Français )

Timezone: Africa/Casablanca (GMT+01:00)

Bonjour Cajus,

Merci pour votre retour. Je vais mettre le ticket en attente de réponse client jusqu'à ce qu'on ait le retour de OVH.
Pensez à augmenter la valeur de WP Memory Limit, WPML exige une valeur minimale de 128M et recommonde 256M. La valeur actuelle de 40M pourrait avoir des effets sur la vitesse de votre site.

Je reste à votre disposition.

Cordialement,
Jamal

mai 9, 2019 à 7:57 #3773939

cajusV

Bonjour,
J'attends toujours une réponse d'OVH.
Bonne journée,
Cordialement,
Cajus

mai 9, 2019 à 9:32 #3774673

Jamal
Supporter

Languages: Anglais (English ) Français (Français )

Timezone: Africa/Casablanca (GMT+01:00)

Bonjour Cajus,

Merci pour votre retour. Je vais remettre le ticket en attente de réponse client.

Cordialement,
Jamal

Le sujet ‘[Fermé] Shows the translation of the title but not for the text and other elements’ est fermé à de nouvelles réponses.