{"id":322,"date":"2020-01-29T12:21:01","date_gmt":"2020-01-29T12:21:01","guid":{"rendered":"https:\/\/www.salephpscripts.com\/wordpress-ratings-reviews\/demo\/?page_id=322"},"modified":"2020-01-29T12:21:01","modified_gmt":"2020-01-29T12:21:01","slug":"translation","status":"publish","type":"page","link":"https:\/\/www.salephpscripts.com\/wordpress-ratings-reviews\/demo\/documentation\/translation\/","title":{"rendered":"Translation"},"content":{"rendered":"<div class=\"w2rr-docs w2rr-docs-side\">\nRatings &#038; Reviews plugin ready for use in any languages. The <em>languages\/<\/em> folder contains W2RR_en_US.po file, which is used for translations. The process of translation is quite similar to <a href=\"https:\/\/www.salephpscripts.com\/wordpress-ratings-reviews\/demo\/documentation\/change-texts\/\">modifying texts<\/a> with Poedit application. The only difference is that before translation you need to duplicate W2RR-en_US.po file and give a name to new file according to following rules:<\/p>\n<ol>\n<li>Make a copy of the <em>W2RR-en_US.po<\/em> file and rename it to <em>W2RR-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>W2RR-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>On WordPress <em>Settings -> General<\/em> page select needed site language.<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.salephpscripts.com\/wordpress-ratings-reviews\/demo\/wp-content\/uploads\/2020\/01\/language.png\" alt=\"\" width=\"756\" height=\"133\" class=\"alignnone size-full wp-image-662\" \/><\/li>\n<li>Every time you save translated <em>W2RR-WP_LOCALE.po<\/em> file, PoEdit automatically generates <em>W2RR-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>W2RR-WP_LOCALE.mo<\/em> file and saved <em>W2RR-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-ratings-reviews\/demo\/documentation\/\">Installation<\/a>\r\n<ul>\r\n\t<li><a href=\"https:\/\/www.salephpscripts.com\/wordpress-ratings-reviews\/demo\/documentation\/demo-content\/\">Demo data import<\/a><\/li>\r\n\t<li><a href=\"https:\/\/www.salephpscripts.com\/wordpress-ratings-reviews\/demo\/documentation\/update\/\">Plugin update<\/a><\/li>\r\n<\/ul>\r\n<\/li>\r\n\t<li><a href=\"https:\/\/www.salephpscripts.com\/wordpress-ratings-reviews\/demo\/documentation\/getting-started\/\">Getting started<\/a><\/li>\r\n\t<li><a href=\"https:\/\/www.salephpscripts.com\/wordpress-ratings-reviews\/demo\/documentation\/review-submission\/\">Review submission<\/a><\/li>\r\n\t<li><a href=\"https:\/\/www.salephpscripts.com\/wordpress-ratings-reviews\/demo\/documentation\/directory-reviews\/\">Directory reviews<\/a><\/li>\r\n\t<li><a href=\"https:\/\/www.salephpscripts.com\/wordpress-ratings-reviews\/demo\/documentation\/customization\/\">Customization styles & templates<\/a><\/li>\r\n\t<li><a href=\"https:\/\/www.salephpscripts.com\/wordpress-ratings-reviews\/demo\/documentation\/change-texts\/\">How to modify texts<\/a><\/li>\r\n\t<li><a href=\"https:\/\/www.salephpscripts.com\/wordpress-ratings-reviews\/demo\/documentation\/translation\/\">Translation<\/a><\/li>\r\n\t<li><a href=\"https:\/\/www.salephpscripts.com\/wordpress-ratings-reviews\/demo\/documentation\/import\/\">CSV Import<\/a><\/li>\r\n<\/ul>\r\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Ratings &#038; Reviews plugin ready for use in any languages. The languages\/ folder contains W2RR_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 W2RR-en_US.po file and give a name to new file according [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":303,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"template-fullwidth.php","meta":{"footnotes":""},"class_list":["post-322","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.salephpscripts.com\/wordpress-ratings-reviews\/demo\/wp-json\/wp\/v2\/pages\/322","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.salephpscripts.com\/wordpress-ratings-reviews\/demo\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.salephpscripts.com\/wordpress-ratings-reviews\/demo\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.salephpscripts.com\/wordpress-ratings-reviews\/demo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.salephpscripts.com\/wordpress-ratings-reviews\/demo\/wp-json\/wp\/v2\/comments?post=322"}],"version-history":[{"count":1,"href":"https:\/\/www.salephpscripts.com\/wordpress-ratings-reviews\/demo\/wp-json\/wp\/v2\/pages\/322\/revisions"}],"predecessor-version":[{"id":332,"href":"https:\/\/www.salephpscripts.com\/wordpress-ratings-reviews\/demo\/wp-json\/wp\/v2\/pages\/322\/revisions\/332"}],"up":[{"embeddable":true,"href":"https:\/\/www.salephpscripts.com\/wordpress-ratings-reviews\/demo\/wp-json\/wp\/v2\/pages\/303"}],"wp:attachment":[{"href":"https:\/\/www.salephpscripts.com\/wordpress-ratings-reviews\/demo\/wp-json\/wp\/v2\/media?parent=322"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}