{"id":122,"date":"2017-09-17T13:46:01","date_gmt":"2017-09-17T13:46:01","guid":{"rendered":"https:\/\/wpinvoicing.com\/docs\/?p=122"},"modified":"2019-11-16T10:29:48","modified_gmt":"2019-11-16T10:29:48","slug":"getting-translation-files","status":"publish","type":"docs","link":"https:\/\/wpgetpaid.com\/docs\/translation\/getting-translation-files\/","title":{"rendered":"Getting translation files"},"content":{"rendered":"<p>Find language files for the core plugin on WP.org here:  <a href=\"https:\/\/translate.wordpress.org\/projects\/wp-plugins\/invoicing\/\" rel=\"noopener noreferrer\" target=\"_blank\">https:\/\/translate.wordpress.org\/projects\/wp-plugins\/invoicing\/<\/a><\/p>\n<p><i class=\"fa fa-folder-open fa-2x\" style=\"color: orange;\"><\/i> For addons, find translated language files\u00a0at the\u00a0<a href=\"https:\/\/wpinvoicing.com\/translate\/projects\/\">Invoicing language project pages.<\/a><\/p>\n<p>To explain the process, let&#8217;s add German to a multi-lingual wesite. The process for a single language site is the same.<\/p>\n<ol>\n<li>Navigate to the\u00a0<a href=\"https:\/\/wpinvoicing.com\/translate\/projects\/\">Invoicing language project pages.<\/a><\/li>\n<li>Select the language of your choice.<\/li>\n<li>For the example, we selected German:<br \/>\n<img class=\"greenborder\" src=\"https:\/\/wpinvoicing.com\/docs\/wp-content\/uploads\/sites\/19\/2017\/09\/wpitrl1.png\" alt=\"\" \/><\/li>\n<li>Scroll to the bottom of the page and <em><strong>Export<\/strong><\/em> the file (accept the defaults so you download the whole <em><strong>PO<\/strong><\/em> file):<br \/>\n<img class=\"greenborder\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2015\/12\/lang3.png\" alt=\"\" \/><\/li>\n<li>Save the <em><strong>.po<\/strong><\/em> file in the <em><strong>\/wp-content\/languages\/plugins\/<\/strong><\/em> folder of your local website copy on your computer:<br \/>\n<img class=\"greenborder\" src=\"https:\/\/wpinvoicing.com\/docs\/wp-content\/uploads\/sites\/19\/2017\/09\/wpitrl2.png\" alt=\"\" \/><\/li>\n<li>Install <a href=\"https:\/\/poedit.net\/\" target=\"_blank\" rel=\"noopener noreferrer\">Poedit<\/a>\u00a0on your local machine.<\/li>\n<li>Create the <em><strong>MO<\/strong><\/em> file using Poedit:\n<ol>\n<li>Open the <em><strong>invoicing-de_DE.po<\/strong><\/em> file using Poedit [or the <em><strong>PO<\/strong><\/em> file in your language].<\/li>\n<li>Save the file.<\/li>\n<li>That will create a matching <em><strong>MO<\/strong><\/em> file:<br \/>\n<img class=\"greenborder\" src=\"https:\/\/wpinvoicing.com\/docs\/wp-content\/uploads\/sites\/19\/2017\/09\/wpitrl3.png\" alt=\"\" \/><\/li>\n<\/ol>\n<\/li>\n<li>Now upload both <em><strong>PO<\/strong><\/em> and <em><strong>MO<\/strong><\/em> file to your site&#8217;s server using FTP.<\/li>\n<li>Check on your site.<\/li>\n<\/ol>\n","protected":false},"featured_media":0,"parent":243,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","doc_tag":[],"amp_validity":null,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wpgetpaid.com\/docs\/wp-json\/wp\/v2\/docs\/122"}],"collection":[{"href":"https:\/\/wpgetpaid.com\/docs\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/wpgetpaid.com\/docs\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgetpaid.com\/docs\/wp-json\/wp\/v2\/comments?post=122"}],"version-history":[{"count":0,"href":"https:\/\/wpgetpaid.com\/docs\/wp-json\/wp\/v2\/docs\/122\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/wpgetpaid.com\/docs\/wp-json\/wp\/v2\/docs\/243"}],"wp:attachment":[{"href":"https:\/\/wpgetpaid.com\/docs\/wp-json\/wp\/v2\/media?parent=122"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/wpgetpaid.com\/docs\/wp-json\/wp\/v2\/doc_tag?post=122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}