{"id":365,"date":"2022-07-10T23:25:08","date_gmt":"2022-07-10T23:25:08","guid":{"rendered":"http:\/\/docs.eriktailor.hu\/flatbook\/docs-2\/tutorials\/translate-theme\/"},"modified":"2022-07-11T00:01:49","modified_gmt":"2022-07-11T00:01:49","slug":"translate-theme","status":"publish","type":"docs","link":"https:\/\/docs.eriktailor.hu\/flatbook\/docs\/tutorials\/translate-theme\/","title":{"rendered":"Translate Theme"},"content":{"rendered":"\n<p>The theme is completely translation ready. To translate it to your own language, you will need a\u00a0<code>.po<\/code>\u00a0editor software like\u00a0<a rel=\"noreferrer noopener\" href=\"http:\/\/poedit.net\/\" target=\"_blank\">Poedit<\/a>. Here is how you can do it:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Locate your&nbsp;<code>default.pot<\/code>&nbsp;file from the&nbsp;<em>\/flatbook\/languages\/<\/em>&nbsp;folder<\/li><li>Duplicate the file and rename it to&nbsp;<code>xx_XX.po<\/code>&nbsp;where &#8216;xx&#8217; is the localization code of your language&nbsp;<em>(eg. fr_FR is french)<\/em><\/li><li>Open the duplicated po file with&nbsp;<strong>Poedit<\/strong>, and translate the desired strings to your own language<\/li><li>Once feel ready, just save it in the same directory<\/li><\/ol>\n","protected":false},"featured_media":0,"parent":330,"menu_order":4,"comment_status":"open","ping_status":"closed","template":"","docs_category":[],"class_list":["post-365","docs","type-docs","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.eriktailor.hu\/flatbook\/wp-json\/wp\/v2\/docs\/365","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.eriktailor.hu\/flatbook\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/docs.eriktailor.hu\/flatbook\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.eriktailor.hu\/flatbook\/wp-json\/wp\/v2\/comments?post=365"}],"version-history":[{"count":1,"href":"https:\/\/docs.eriktailor.hu\/flatbook\/wp-json\/wp\/v2\/docs\/365\/revisions"}],"predecessor-version":[{"id":395,"href":"https:\/\/docs.eriktailor.hu\/flatbook\/wp-json\/wp\/v2\/docs\/365\/revisions\/395"}],"up":[{"embeddable":true,"href":"https:\/\/docs.eriktailor.hu\/flatbook\/wp-json\/wp\/v2\/docs\/330"}],"wp:attachment":[{"href":"https:\/\/docs.eriktailor.hu\/flatbook\/wp-json\/wp\/v2\/media?parent=365"}],"wp:term":[{"taxonomy":"docs_category","embeddable":true,"href":"https:\/\/docs.eriktailor.hu\/flatbook\/wp-json\/wp\/v2\/docs_category?post=365"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}