{"id":49,"date":"2016-11-14T23:41:38","date_gmt":"2016-11-14T23:41:38","guid":{"rendered":"http:\/\/blog.get-map.org\/?p=49"},"modified":"2016-11-14T23:41:38","modified_gmt":"2016-11-14T23:41:38","slug":"rendering-issues-fixed","status":"publish","type":"post","link":"https:\/\/blog.get-map.org\/index.php\/2016\/11\/14\/rendering-issues-fixed\/","title":{"rendered":"Rendering issues fixed"},"content":{"rendered":"<p><a name=\"preamble\"><\/a> <\/p>\n<p>I noticed that some failed rendering jobs lately, all of which failed due to language \/ locale settings I hand&#8217;t tested yet.<\/p>\n<p>Some of the jobs simply failed as my list of installed locales was missing some of those that could be selected in the &#8220;Create map&#8221; form, these should now all be installed as needed.<\/p>\n<p>I also wrapped the <code>setlocale()<\/code> calls in a <code>try&#8230;catch<\/code> block now, so that unsupported locales will just make the rendering code fall back to English instead of letting rendering fail with an exception stack trace.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I noticed that some failed rendering jobs lately, all of which failed due to language \/ locale settings I hand&#8217;t tested yet. Some of the jobs simply failed as my list of installed locales was missing some of those that could be selected in the &#8220;Create map&#8221; form, these should now all be installed as &hellip; <a href=\"https:\/\/blog.get-map.org\/index.php\/2016\/11\/14\/rendering-issues-fixed\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Rendering issues fixed&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.get-map.org\/index.php\/wp-json\/wp\/v2\/posts\/49"}],"collection":[{"href":"https:\/\/blog.get-map.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.get-map.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.get-map.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.get-map.org\/index.php\/wp-json\/wp\/v2\/comments?post=49"}],"version-history":[{"count":1,"href":"https:\/\/blog.get-map.org\/index.php\/wp-json\/wp\/v2\/posts\/49\/revisions"}],"predecessor-version":[{"id":50,"href":"https:\/\/blog.get-map.org\/index.php\/wp-json\/wp\/v2\/posts\/49\/revisions\/50"}],"wp:attachment":[{"href":"https:\/\/blog.get-map.org\/index.php\/wp-json\/wp\/v2\/media?parent=49"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.get-map.org\/index.php\/wp-json\/wp\/v2\/categories?post=49"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.get-map.org\/index.php\/wp-json\/wp\/v2\/tags?post=49"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}