{"id":313,"date":"2021-03-21T07:39:16","date_gmt":"2021-03-21T07:39:16","guid":{"rendered":"https:\/\/www.salephpscripts.com\/wordpress-search\/demo\/?page_id=313"},"modified":"2022-02-15T10:45:54","modified_gmt":"2022-02-15T10:45:54","slug":"translation","status":"publish","type":"page","link":"https:\/\/www.salephpscripts.com\/wordpress-search\/demo\/documentation\/translation\/","title":{"rendered":"Translation"},"content":{"rendered":"<div class=\"w2rr-docs w2rr-docs-side\">\nWooCommerce Search &#038; Filter plugin is ready for use in any languages. The <em>languages\/<\/em> folder contains WCSEARCH-en_US.po file, which is used for translations. The process of translation is quite similar to <a href=\"https:\/\/www.salephpscripts.com\/wordpress-search\/demo\/documentation\/change-texts\/\">modifying texts<\/a> with <a href=\"https:\/\/poedit.net\/\" target=\"_blank\" rel=\"noopener noreferrer\">PoEdit<\/a> application. The only difference is that before translation you need to duplicate WCSEARCH-en_US.po file and give a name to new file according to following rules:<\/p>\n<ol>\n<li>On WordPress <em>Settings -> General<\/em> page select needed site language.<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.salephpscripts.com\/wordpress-search\/demo\/wp-content\/uploads\/2021\/03\/language.png\" \/><\/p>\n<li>Make a copy of the <em>WCSEARCH-en_US.po<\/em> file and rename it to <em>WCSEARCH-WP_LOCALE.po<\/em> according to your <a href=\"https:\/\/make.wordpress.org\/polyglots\/teams\/\" target=\"_blank\" rel=\"noopener noreferrer\">WP Locale<\/a><\/li>\n<li>Example for the Portuguese Brazil language: <em>WCSEARCH-pt_BR.po<\/em><br \/>\n    &#8212; pt_BR &#8211; is the WP Locale, it means Portuguese (Brazil) language<br \/>\n    &#8212; you&#8217;ll have to fill in with your own language, the list of WordPress locales <a href=\"https:\/\/make.wordpress.org\/polyglots\/teams\/\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a><\/li>\n<li>Download and install <a href=\"https:\/\/poedit.net\/\" target=\"_blank\" rel=\"noopener noreferrer\">Poedit<\/a>.<\/li>\n<li>Open with Poedit <em>WCSEARCH-pt_BR.po<\/em> file.<\/li>\n<li>Now you can find and modify any needed words and texts.<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.salephpscripts.com\/wordpress-search\/demo\/wp-content\/uploads\/2021\/03\/poEdit.png\" alt=\"\" \/><\/p>\n<li>Every time you save translated <em>WCSEARCH-WP_LOCALE.po<\/em> file, PoEdit automatically generates <em>WCSEARCH-WP_LOCALE.mo<\/em> file, which is the one WordPress uses and basically the only one you need to <strong>upload to your site<\/strong>.<\/li>\n<li>Upload generated <em>WCSEARCH-WP_LOCALE.mo<\/em> file and saved <em>WCSEARCH-WP_LOCALE.po<\/em> file to your site into <em>wp-content\/languages\/plugins\/<\/em> folder. You can use FTP client or FTP manager of your hosting.<\/li>\n<\/ol>\n<\/div>\n<div class=\"w2rr-theme-sticky\">\r\n<h4 class=\"w2rr-table-of-contents-heading\">Table of Contents<\/h4>\r\n<ul class=\"w2rr-table-of-contents\">\r\n\t<li><a href=\"https:\/\/www.salephpscripts.com\/wordpress-search\/demo\/documentation\/\">Installation<\/a>\r\n<ul>\r\n\t<li><a href=\"https:\/\/www.salephpscripts.com\/wordpress-search\/demo\/documentation\/demo-content\/\">Demo data import<\/a><\/li>\r\n\t<li><a href=\"https:\/\/www.salephpscripts.com\/wordpress-search\/demo\/documentation\/update\/\">Plugin update<\/a><\/li>\r\n<\/ul>\r\n<\/li>\r\n\t<li><a href=\"https:\/\/www.salephpscripts.com\/wordpress-search\/demo\/documentation\/getting-started\/\">Getting started<\/a><\/li>\r\n\t<li><a href=\"https:\/\/www.salephpscripts.com\/wordpress-search\/demo\/documentation\/shortcodes\/\">Shortcodes<\/a><\/li>\r\n\t<li><a href=\"https:\/\/www.salephpscripts.com\/wordpress-search\/demo\/documentation\/customization\/\">Customization styles & templates<\/a><\/li>\r\n\t<li><a href=\"https:\/\/www.salephpscripts.com\/wordpress-search\/demo\/documentation\/change-texts\/\">How to modify texts<\/a><\/li>\r\n\t<li><a href=\"https:\/\/www.salephpscripts.com\/wordpress-search\/demo\/documentation\/translation\/\">Translation<\/a><\/li>\r\n<\/ul>\r\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>WooCommerce Search &#038; Filter plugin is ready for use in any languages. The languages\/ folder contains WCSEARCH-en_US.po file, which is used for translations. The process of translation is quite similar to modifying texts with PoEdit application. The only difference is that before translation you need to duplicate WCSEARCH-en_US.po file and give a name to new [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":294,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"template-fullwidth.php","meta":{"footnotes":""},"class_list":["post-313","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.salephpscripts.com\/wordpress-search\/demo\/wp-json\/wp\/v2\/pages\/313","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.salephpscripts.com\/wordpress-search\/demo\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.salephpscripts.com\/wordpress-search\/demo\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.salephpscripts.com\/wordpress-search\/demo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.salephpscripts.com\/wordpress-search\/demo\/wp-json\/wp\/v2\/comments?post=313"}],"version-history":[{"count":1,"href":"https:\/\/www.salephpscripts.com\/wordpress-search\/demo\/wp-json\/wp\/v2\/pages\/313\/revisions"}],"predecessor-version":[{"id":314,"href":"https:\/\/www.salephpscripts.com\/wordpress-search\/demo\/wp-json\/wp\/v2\/pages\/313\/revisions\/314"}],"up":[{"embeddable":true,"href":"https:\/\/www.salephpscripts.com\/wordpress-search\/demo\/wp-json\/wp\/v2\/pages\/294"}],"wp:attachment":[{"href":"https:\/\/www.salephpscripts.com\/wordpress-search\/demo\/wp-json\/wp\/v2\/media?parent=313"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}