{"id":184,"date":"2022-06-07T16:03:49","date_gmt":"2022-06-07T16:03:49","guid":{"rendered":"http:\/\/localhost\/wordpress_vikingerdocs\/?p=184"},"modified":"2022-06-07T20:10:48","modified_gmt":"2022-06-07T20:10:48","slug":"overview-5","status":"publish","type":"post","link":"https:\/\/odindesignthemes.com\/vikingerthemedocs\/overview-5\/","title":{"rendered":"Overview"},"content":{"rendered":"\n<p>This theme is&nbsp;<strong>translation ready<\/strong>, which means that it can be translated to different languages by adding the corresponding localization files in the&nbsp;<strong>languages\/<\/strong>&nbsp;directory.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to change site language<\/h2>\n\n\n\n<p>To change the site language, follow these steps:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Go to the&nbsp;<strong>WordPress admin panel<\/strong>.<\/li><li>Go to the&nbsp;<strong>Settings -&gt; General<\/strong>.<\/li><li>Scroll to&nbsp;<strong>Site Language<\/strong>&nbsp;and select your desired language.<\/li><li>Scroll to the bottom of the page and click&nbsp;<strong>Save Changes<\/strong>.<\/li><li>Now, when you visit your site, all text will be translated to the language you selected.<\/li><\/ul>\n\n\n\n<p>If the localization files for the language you selected don&#8217;t exist, then no translation will be loaded and the text of your site will not change.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to add new localization files<\/h2>\n\n\n\n<p>To add new localization files you need to use the&nbsp;<strong>languages\/vikinger.pot<\/strong>&nbsp;file we created as a base and generate new .po and .mo files by translating the text present in that file.<br><br>There are different ways to generate these files, but you always have to translate all the text found in the&nbsp;<strong>vikinger.pot<\/strong>&nbsp;file to the language you want.<\/p>\n\n\n\n<p><strong>We recommend using a tool that will help you create your localization files instead of creating them manually.<\/strong><\/p>\n\n\n\n<p>This official WordPress resource details how to localize themes:&nbsp;<a href=\"https:\/\/developer.wordpress.org\/apis\/handbook\/internationalization\/localization\/#translating-themes-and-plugins\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/developer.wordpress.org\/apis\/handbook\/internationalization\/localization\/#translating-themes-and-plugins<\/a><\/p>\n\n\n\n<p>The <strong>Poedit <\/strong>tool can be used to create your localized files using the <strong>vikinger.pot<\/strong> file as a base, you can find more information about it here:&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/developer.wordpress.org\/apis\/handbook\/internationalization\/localization\/#poedit\" target=\"_blank\">https:\/\/developer.wordpress.org\/apis\/handbook\/internationalization\/localization\/#poedit<\/a><\/p>\n\n\n\n<p><strong>The theme is not compatible with multilingual plugins.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This theme is&nbsp;translation ready, which means that it can be translated to different languages by adding the corresponding localization files in the&nbsp;languages\/&nbsp;directory. How to change site language To change the site language, follow these steps: Go to the&nbsp;WordPress admin panel. Go to the&nbsp;Settings -&gt; General. Scroll to&nbsp;Site Language&nbsp;and select your desired language. Scroll to the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25,19],"tags":[],"class_list":["post-184","post","type-post","status-publish","format-standard","hentry","category-translation","category-vikinger"],"_links":{"self":[{"href":"https:\/\/odindesignthemes.com\/vikingerthemedocs\/wp-json\/wp\/v2\/posts\/184","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/odindesignthemes.com\/vikingerthemedocs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/odindesignthemes.com\/vikingerthemedocs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/odindesignthemes.com\/vikingerthemedocs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/odindesignthemes.com\/vikingerthemedocs\/wp-json\/wp\/v2\/comments?post=184"}],"version-history":[{"count":1,"href":"https:\/\/odindesignthemes.com\/vikingerthemedocs\/wp-json\/wp\/v2\/posts\/184\/revisions"}],"predecessor-version":[{"id":367,"href":"https:\/\/odindesignthemes.com\/vikingerthemedocs\/wp-json\/wp\/v2\/posts\/184\/revisions\/367"}],"wp:attachment":[{"href":"https:\/\/odindesignthemes.com\/vikingerthemedocs\/wp-json\/wp\/v2\/media?parent=184"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/odindesignthemes.com\/vikingerthemedocs\/wp-json\/wp\/v2\/categories?post=184"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/odindesignthemes.com\/vikingerthemedocs\/wp-json\/wp\/v2\/tags?post=184"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}