{"id":2432560,"date":"2017-06-12T10:26:48","date_gmt":"2017-06-12T10:26:48","guid":{"rendered":"https:\/\/wpml.org\/documentation-6\/guide-de-demarrage-rapide\/traduire-des-champs-personnalises\/"},"modified":"2026-02-04T14:28:27","modified_gmt":"2026-02-04T14:28:27","slug":"traduire-des-champs-personnalises","status":"publish","type":"page","link":"https:\/\/wpml.org\/fr\/documentation-6\/guide-de-demarrage-rapide\/traduire-des-champs-personnalises\/","title":{"rendered":"Traduire les champs personnalis\u00e9s avec WPML"},"content":{"rendered":"\n<p class=\"lead\">Apprenez \u00e0 traduire les champs personnalis\u00e9s dans WordPress en plusieurs langues avec WPML.<\/p>\n\n<p>Les champs personnalis\u00e9s vous permettent d&rsquo;ajouter des donn\u00e9es suppl\u00e9mentaires comme du texte, des images ou des s\u00e9lections \u00e0 vos articles, pages et types de contenu personnalis\u00e9s. <\/p>\n\n<p>Par exemple, un site web immobilier pourrait utiliser un type de contenu personnalis\u00e9 appel\u00e9 \u00ab Propri\u00e9t\u00e9s \u00bb, qui poss\u00e8de des champs personnalis\u00e9s comme Prix, Type de propri\u00e9t\u00e9 et Nombre de pi\u00e8ces. Avec WPML, vous pouvez traduire ces champs comme tout autre contenu de votre site web. <\/p>\n\n<figure class=\"wp-block-image tb-image tb-image-dynamic tb-image-frame-none\" data-toolset-blocks-image=\"705765218e4d86d580d0e56e91595af8\"><a href=\"https:\/\/wpml.org\/wp-content\/uploads\/2025\/10\/Custom-post-with-custom-fields.png\"><img decoding=\"async\" width=\"1024\" height=\"790\" loading=\"lazy\" src=\"https:\/\/wpml.org\/wp-content\/uploads\/2025\/10\/Custom-post-with-custom-fields-1024x790.png\" alt=\"Custom post with custom fields\" class=\"wp-image-17481084\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2025\/10\/Custom-post-with-custom-fields-1024x790.png 1024w, https:\/\/wpml.org\/wp-content\/uploads\/2025\/10\/Custom-post-with-custom-fields-300x231.png 300w, https:\/\/wpml.org\/wp-content\/uploads\/2025\/10\/Custom-post-with-custom-fields-150x116.png 150w, https:\/\/wpml.org\/wp-content\/uploads\/2025\/10\/Custom-post-with-custom-fields-768x592.png 768w, https:\/\/wpml.org\/wp-content\/uploads\/2025\/10\/Custom-post-with-custom-fields-1536x1185.png 1536w, https:\/\/wpml.org\/wp-content\/uploads\/2025\/10\/Custom-post-with-custom-fields.png 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption><div class=\"tb-image-caption\">Article personnalis\u00e9 avec champs personnalis\u00e9s<\/div><\/figcaption><\/figure>\n\n<p><\/p>\n\n<div class=\"wp-block-toolset-blocks-container tb-container\" data-toolset-blocks-container=\"f908b134276ba3432b0b77744504af0a\">\n<div class=\"wp-block-toolset-blocks-grid tb-grid\" data-toolset-blocks-grid=\"11c011d4d76e7a5d432ca395f201a03b\">\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"3034fbe886c11054e95b46b09d3e4112\">\n<div class=\"wp-block-toolset-blocks-container tb-container\" data-toolset-blocks-container=\"5cf35f77ebe86fbe26ba5394e7247dee\"><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"3034fbe886c11054e95b46b09d3e4112\">\n<p>Si vous utilisez ACF pour cr\u00e9er vos champs personnalis\u00e9s, suivez le guide de WPML pour <a href=\"https:\/\/wpml.org\/fr\/documentation-6\/projets-connexes\/advanced-custom-fields-multilingual-traduis-tous-les-champs-avec-wpml\/\">traduire les champs personnalis\u00e9s ACF<\/a>.<\/p>\n<\/div>\n<\/div>\n<\/div>\n\n<h2 class=\"wp-block-heading\"><strong>Comment traduire les champs personnalis\u00e9s<\/strong><\/h2>\n\n<p>Pour traduire les champs personnalis\u00e9s avec WPML :<\/p>\n\n<ol class=\"wp-block-list\">\n<li>Allez dans <strong>WPML<\/strong> \u2192 <strong>r\u00e9glages<\/strong>.<\/li>\n\n\n\n<li>Faites d\u00e9filer vers le bas jusqu&rsquo;\u00e0 la section <strong>Traduction des champs personnalis\u00e9s<\/strong>. <\/li>\n\n\n\n<li>D\u00e9finissez une pr\u00e9f\u00e9rence de traduction pour chaque champ personnalis\u00e9.<\/li>\n<\/ol>\n\n<figure class=\"wp-block-image tb-image tb-image-dynamic tb-image-frame-none\" data-toolset-blocks-image=\"673df9f6d51f90a46d39244d83465e4a\"><a href=\"https:\/\/wpml.org\/wp-content\/uploads\/2025\/10\/Setting-translation-options-for-custom-fields.png\"><img decoding=\"async\" width=\"1024\" height=\"331\" loading=\"lazy\" src=\"https:\/\/wpml.org\/wp-content\/uploads\/2025\/10\/Setting-translation-options-for-custom-fields-1024x331.png\" alt=\"Setting translation options for custom fields\" class=\"wp-image-17481098\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2025\/10\/Setting-translation-options-for-custom-fields-1024x331.png 1024w, https:\/\/wpml.org\/wp-content\/uploads\/2025\/10\/Setting-translation-options-for-custom-fields-300x97.png 300w, https:\/\/wpml.org\/wp-content\/uploads\/2025\/10\/Setting-translation-options-for-custom-fields-150x48.png 150w, https:\/\/wpml.org\/wp-content\/uploads\/2025\/10\/Setting-translation-options-for-custom-fields-768x248.png 768w, https:\/\/wpml.org\/wp-content\/uploads\/2025\/10\/Setting-translation-options-for-custom-fields-1536x496.png 1536w, https:\/\/wpml.org\/wp-content\/uploads\/2025\/10\/Setting-translation-options-for-custom-fields.png 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption><div class=\"tb-image-caption\">Configuration des options de traduction pour les champs personnalis\u00e9s<\/div><\/figcaption><\/figure>\n\n<p><\/p>\n\n<ol start=\"4\" class=\"wp-block-list\">\n<li>Enfin, allez dans <strong>WPML<\/strong> \u2192 <strong>Tableau de bord de traduction<\/strong> et envoyez le contenu avec vos champs personnalis\u00e9s pour traduction. Pour obtenir la meilleure qualit\u00e9 de traduction, nous vous recommandons d\u2019utiliser la <a href=\"https:\/\/wpml.org\/fr\/documentation-6\/traduction-automatique-de-contenu-wordpress-avec-wpml\/\">traduction automatique<\/a> de WPML.<\/li>\n<\/ol>\n\n<figure class=\"wp-block-image tb-image tb-image-dynamic tb-image-frame-none\" data-toolset-blocks-image=\"3c247aa3e5298f0e99b818d81f0d978e\"><a href=\"https:\/\/wpml.org\/wp-content\/uploads\/2026\/02\/Selecting-post-with-custom-fields-for-translation.png\"><img decoding=\"async\" width=\"1024\" height=\"611\" loading=\"lazy\" src=\"https:\/\/wpml.org\/wp-content\/uploads\/2026\/02\/Selecting-post-with-custom-fields-for-translation-1024x611.png\" alt=\"Selecting post with custom fields for translation\" class=\"wp-image-17792304\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2026\/02\/Selecting-post-with-custom-fields-for-translation-1024x611.png 1024w, https:\/\/wpml.org\/wp-content\/uploads\/2026\/02\/Selecting-post-with-custom-fields-for-translation-300x179.png 300w, https:\/\/wpml.org\/wp-content\/uploads\/2026\/02\/Selecting-post-with-custom-fields-for-translation-150x90.png 150w, https:\/\/wpml.org\/wp-content\/uploads\/2026\/02\/Selecting-post-with-custom-fields-for-translation-768x458.png 768w, https:\/\/wpml.org\/wp-content\/uploads\/2026\/02\/Selecting-post-with-custom-fields-for-translation-1536x917.png 1536w, https:\/\/wpml.org\/wp-content\/uploads\/2026\/02\/Selecting-post-with-custom-fields-for-translation.png 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption><div class=\"tb-image-caption\">S\u00e9lection d&rsquo;un article avec champs personnalis\u00e9s pour traduction<\/div><\/figcaption><\/figure>\n\n<p>Vos champs personnalis\u00e9s appara\u00eetront maintenant traduits lors du changement de langue.<\/p>\n\n<div class=\"wp-block-toolset-blocks-grid tb-grid\" data-toolset-blocks-grid=\"3d9c399fe625e1b972f817a0680229f6\">\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"3034fbe886c11054e95b46b09d3e4112\">\n<figure class=\"wp-block-image tb-image tb-image-dynamic tb-image-frame-none\" data-toolset-blocks-image=\"31312e777e633d48752a511b81fd8f31\"><a href=\"https:\/\/wpml.org\/wp-content\/uploads\/2025\/10\/Custom-fields-in-English-1.png\"><img decoding=\"async\" width=\"1024\" height=\"589\" loading=\"lazy\" src=\"https:\/\/wpml.org\/wp-content\/uploads\/2025\/10\/Custom-fields-in-English-1-1024x589.png\" alt=\"Custom fields in English\" class=\"wp-image-17481156\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2025\/10\/Custom-fields-in-English-1-1024x589.png 1024w, https:\/\/wpml.org\/wp-content\/uploads\/2025\/10\/Custom-fields-in-English-1-300x173.png 300w, https:\/\/wpml.org\/wp-content\/uploads\/2025\/10\/Custom-fields-in-English-1-150x86.png 150w, https:\/\/wpml.org\/wp-content\/uploads\/2025\/10\/Custom-fields-in-English-1-768x442.png 768w, https:\/\/wpml.org\/wp-content\/uploads\/2025\/10\/Custom-fields-in-English-1-1536x884.png 1536w, https:\/\/wpml.org\/wp-content\/uploads\/2025\/10\/Custom-fields-in-English-1.png 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption><div class=\"tb-image-caption\">Champs personnalis\u00e9s en anglais<\/div><\/figcaption><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"3034fbe886c11054e95b46b09d3e4112\">\n<figure class=\"wp-block-image tb-image tb-image-dynamic tb-image-frame-none\" data-toolset-blocks-image=\"a35486d0955bdcddfda931691d87395d\"><a href=\"https:\/\/wpml.org\/wp-content\/uploads\/2025\/10\/Custom-fields-in-Spanish-1.png\"><img decoding=\"async\" width=\"1024\" height=\"595\" loading=\"lazy\" src=\"https:\/\/wpml.org\/wp-content\/uploads\/2025\/10\/Custom-fields-in-Spanish-1-1024x595.png\" alt=\"Custom fields in Spanish\" class=\"wp-image-17481142\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2025\/10\/Custom-fields-in-Spanish-1-1024x595.png 1024w, https:\/\/wpml.org\/wp-content\/uploads\/2025\/10\/Custom-fields-in-Spanish-1-300x174.png 300w, https:\/\/wpml.org\/wp-content\/uploads\/2025\/10\/Custom-fields-in-Spanish-1-150x87.png 150w, https:\/\/wpml.org\/wp-content\/uploads\/2025\/10\/Custom-fields-in-Spanish-1-768x446.png 768w, https:\/\/wpml.org\/wp-content\/uploads\/2025\/10\/Custom-fields-in-Spanish-1-1536x892.png 1536w, https:\/\/wpml.org\/wp-content\/uploads\/2025\/10\/Custom-fields-in-Spanish-1.png 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption><div class=\"tb-image-caption\">Champs personnalis\u00e9s en espagnol<\/div><\/figcaption><\/figure>\n<\/div>\n<\/div>\n\n<h2 class=\"wp-block-heading\">Questions fr\u00e9quemment pos\u00e9es<\/h2>\n\n<div id=\"faq\" class=\"wp-block-toolset-blocks-container tb-container\" data-toolset-blocks-container=\"3c47785d6e1708c649124e2fe04a1b68\">\n<div class=\"wp-block-toolset-blocks-container tb-container\" data-toolset-blocks-container=\"40d6b7d75c97be28d62acd5aaafad645\">\n<details class=\"wp-block-details has-dark-gray-color has-text-color has-link-color wp-elements-c946dd3eca8658c070d6360487464507 is-layout-flow wp-block-details-is-layout-flow\" style=\"font-size:16px;font-style:normal;font-weight:700\" open><summary>Comment fonctionnent les options de traduction pour les champs personnalis\u00e9s ?<\/summary>\n<div class=\"wp-block-toolset-blocks-container tb-container\" data-toolset-blocks-container=\"b55b9e366429f8319ddee947984288b0\">\n<p class=\"tb-heading has-text-color\" data-toolset-blocks-heading=\"2860add562799c34bdca10a6fba90f21\" data-last-update=\"1.4\">WPML propose quatre pr\u00e9f\u00e9rences de traduction pour les champs personnalis\u00e9s\u00a0: <br\/><br\/><strong>Traduire<\/strong> <strong>\u2013 <\/strong>rend vos valeurs de champ personnalis\u00e9 traduisibles (id\u00e9al pour les textes).<br\/><strong>Copier \u2013 <\/strong>copie la valeur du champ dans toutes les langues, en la gardant identique partout (id\u00e9al pour les nombres\/images). <br\/><strong>Copier une fois<\/strong> <strong>\u2013 <\/strong>copie la valeur de la langue par d\u00e9faut une seule fois, vous permettant de cr\u00e9er diff\u00e9rentes valeurs de champ par langue.<br\/><strong>Ne pas traduire<\/strong> <strong>\u2013 <\/strong>ne rien faire.<\/p>\n\n\n\n<p class=\"tb-heading has-text-color\" data-toolset-blocks-heading=\"2860add562799c34bdca10a6fba90f21\" data-last-update=\"1.4\">Pour savoir quelle option choisir pour chaque champ, consultez notre guide sur la <a href=\"https:\/\/wpml.org\/fr\/documentation-6\/projets-connexes\/advanced-custom-fields-multilingual-traduis-tous-les-champs-avec-wpml\/preferences-de-traduction-des-champs-personnalises-pour-acf-et-wpml\/\">pr\u00e9f\u00e9rence de traduction pour les champs personnalis\u00e9s<\/a>. <span id=\"docs-internal-guid-4d7fa5c0-7fff-f44b-7b8f-4dc1f5dcd09e\"><\/span><\/p>\n<\/div>\n<\/details>\n<\/div>\n\n\n\n<div class=\"wp-block-toolset-blocks-container tb-container\" data-toolset-blocks-container=\"40d6b7d75c97be28d62acd5aaafad645\">\n<details class=\"wp-block-details has-dark-gray-color has-text-color has-link-color wp-elements-987e4730401c90d3456ad39eb2414143 is-layout-flow wp-block-details-is-layout-flow\" style=\"font-size:16px;font-style:normal;font-weight:700\"><summary>Puis-je traduire les champs personnalis\u00e9s ajout\u00e9s avec du code ?<\/summary>\n<div class=\"wp-block-toolset-blocks-container tb-container\" data-toolset-blocks-container=\"b55b9e366429f8319ddee947984288b0\">\n<p class=\"tb-heading has-text-color\" data-toolset-blocks-heading=\"2860add562799c34bdca10a6fba90f21\" data-last-update=\"1.4\">Oui, vous pouvez traduire les champs personnalis\u00e9s ajout\u00e9s avec du code. D&rsquo;abord, vous devez <g id=\"gid_0\">enregistrer les champs dans le fichier wpml-config.xml<\/g>. Une fois enregistr\u00e9s, vous pouvez ensuite les traduire comme des champs normaux.   <\/p>\n<\/div>\n<\/details>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Apprenez \u00e0 traduire les champs personnalis\u00e9s dans WordPress en plusieurs langues avec WPML. Les champs personnalis\u00e9s vous permettent d&rsquo;ajouter des donn\u00e9es suppl\u00e9mentaires comme du texte, des images ou des s\u00e9lections \u00e0 vos articles, pages et types de contenu personnalis\u00e9s. Par exemple, un site web immobilier pourrait utiliser un type de contenu personnalis\u00e9 appel\u00e9 \u00ab Propri\u00e9t\u00e9s [&hellip;]<\/p>\n","protected":false},"author":76577,"featured_media":0,"parent":104118,"menu_order":45,"comment_status":"closed","ping_status":"closed","template":"template-sidebar-2.php","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"ep_exclude_from_search":false,"footnotes":""},"related-projects-category":[],"class_list":["post-2432560","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/pages\/2432560","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/users\/76577"}],"replies":[{"embeddable":true,"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/comments?post=2432560"}],"version-history":[{"count":8,"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/pages\/2432560\/revisions"}],"predecessor-version":[{"id":17792321,"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/pages\/2432560\/revisions\/17792321"}],"up":[{"embeddable":true,"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/pages\/104118"}],"wp:attachment":[{"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/media?parent=2432560"}],"wp:term":[{"taxonomy":"related-projects-category","embeddable":true,"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/related-projects-category?post=2432560"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}