{"id":2134,"date":"2009-07-26T09:04:10","date_gmt":"2009-07-26T09:04:10","guid":{"rendered":"http:\/\/wpml.org\/?p=2134"},"modified":"2009-07-26T09:04:10","modified_gmt":"2009-07-26T09:04:10","slug":"integrated-theme-localization","status":"publish","type":"post","link":"https:\/\/wpml.org\/th\/announcements\/2009\/07\/integrated-theme-localization\/","title":{"rendered":"Integrated theme localization"},"content":{"rendered":"<p><strong>We&#8217;re going to add integrated theme localization to WPML<\/strong> and are looking for early feedback.<\/p>\n<p>The ways it&#8217;s going to work is:<\/p>\n<ol>\n<li>The theme must be <strong>localization ready<\/strong> with all texts wrapped in gettext calls (most themes are built like that already).<\/li>\n<li>WPML will <strong>scan the theme and extract the texts<\/strong> from it.<\/li>\n<li>You will <strong>translate<\/strong> the strings using <a href=\"https:\/\/wpml.org\/documentation\/support\/translation-for-texts-by-other-plugins-and-themes\/#editor\">WPML&#8217;s string translation screen<\/a>.<\/li>\n<\/ol>\n<p>That&#8217;s it. No files to upload, download, install or include. WPML will do all the work for you.<\/p>\n<figure id=\"attachment_2137\" aria-describedby=\"caption-attachment-2137\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/wpml.org\/wp-content\/uploads\/2009\/07\/theme-translation.png\"><img decoding=\"async\" class=\"size-medium wp-image-2137\" title=\"theme translation\" src=\"http:\/\/wpml.org\/wp-content\/uploads\/2009\/07\/theme-translation-300x147.png\" alt=\"WPML's theme translation screen\" width=\"300\" height=\"147\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2009\/07\/theme-translation-300x147.png 300w, https:\/\/wpml.org\/wp-content\/uploads\/2009\/07\/theme-translation-150x73.png 150w, https:\/\/wpml.org\/wp-content\/uploads\/2009\/07\/theme-translation.png 777w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-2137\" class=\"wp-caption-text\">WPML&#39;s theme translation screen<\/figcaption><\/figure>\n<p>It sounds simple, but actually involves quite a lot of work, so your feedback would be appreciated.<\/p>\n<p><strong>Would you find this useful? Any ideas or tips before we get started?<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;re going to add integrated theme localization  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","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,"_uag_custom_page_level_css":"","ep_exclude_from_search":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-2134","post","type-post","status-publish","format-standard","hentry","category-announcements"],"spectra_custom_meta":{"_edit_lock":["1250204480"],"_edit_last":["1"],"_alp_processed":["1408521134"],"_oembed_b1f165c45b1c0061ef14102a3255a165":["<iframe title=\"WPML with Gutenberg\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/mpeEuTRYhZA?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_b1f165c45b1c0061ef14102a3255a165":["1671609858"],"_wpml_media_featured":["1"],"_wpml_media_duplicate":["0"],"_wpml_word_count":["111"],"_uag_css_file_name":["uag-css-2134.css"]},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"gform-image-choice-sm":false,"gform-image-choice-md":false,"gform-image-choice-lg":false,"woocommerce_thumbnail":false,"woocommerce_single":false,"woocommerce_gallery_thumbnail":false},"uagb_author_info":{"display_name":"Amir","author_link":"https:\/\/wpml.org\/th\/author\/admingm\/"},"uagb_comment_info":0,"uagb_excerpt":"We&#8217;re going to add integrated theme localization &hellip;","_links":{"self":[{"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/posts\/2134","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/comments?post=2134"}],"version-history":[{"count":4,"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/posts\/2134\/revisions"}],"predecessor-version":[{"id":2262,"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/posts\/2134\/revisions\/2262"}],"wp:attachment":[{"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/media?parent=2134"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/categories?post=2134"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/tags?post=2134"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}