{"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\/he\/announcements\/2009\/07\/integrated-theme-localization\/","title":{"rendered":"Integrated theme localization"},"content":{"rendered":"<p><strong>We're going to add integrated theme localization to WPML<\/strong> and are looking for early feedback.<\/p>\n<p>The ways it'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's string translation screen<\/a>.<\/li>\n<\/ol>\n<p>That'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're going to add integrated theme localization to WPML and are looking for early feedback. The ways it's going to work is: The theme must be localization ready with all texts wrapped in gettext calls (most themes are built like that already). WPML will scan the theme and extract the texts from it. You will [&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,"ep_exclude_from_search":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-2134","post","type-post","status-publish","format-standard","hentry","category-announcements"],"_links":{"self":[{"href":"https:\/\/wpml.org\/he\/wp-json\/wp\/v2\/posts\/2134","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpml.org\/he\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpml.org\/he\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpml.org\/he\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpml.org\/he\/wp-json\/wp\/v2\/comments?post=2134"}],"version-history":[{"count":4,"href":"https:\/\/wpml.org\/he\/wp-json\/wp\/v2\/posts\/2134\/revisions"}],"predecessor-version":[{"id":2262,"href":"https:\/\/wpml.org\/he\/wp-json\/wp\/v2\/posts\/2134\/revisions\/2262"}],"wp:attachment":[{"href":"https:\/\/wpml.org\/he\/wp-json\/wp\/v2\/media?parent=2134"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpml.org\/he\/wp-json\/wp\/v2\/categories?post=2134"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpml.org\/he\/wp-json\/wp\/v2\/tags?post=2134"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}