{"id":5929,"date":"2020-10-09T16:11:10","date_gmt":"2020-10-09T15:11:10","guid":{"rendered":"https:\/\/www.positech.co.uk\/cliffsblog\/?p=5929"},"modified":"2020-10-09T16:11:12","modified_gmt":"2020-10-09T15:11:12","slug":"democracy-4-crowdsourced-translations-now-on-localizor","status":"publish","type":"post","link":"https:\/\/www.positech.co.uk\/cliffsblog\/2020\/10\/09\/democracy-4-crowdsourced-translations-now-on-localizor\/","title":{"rendered":"Democracy 4 crowdsourced translations now on localizor"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I was musing about how on earth to manage the people who are keen to help out translating <a href=\"https:\/\/www.positech.co.uk\/democracy4\">Democracy 4<\/a> when I was pointed at this awesome website called localizor which seems to be set up to do exactly what I needed: <a href=\"https:\/\/www.localizor.com\/democracy-4\">Localizor<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is so cool. Its basically an online database for you to share the translation keys for your game, and optionally a single reference language (in my case obviously English) and anybody who wants to contribute can enter text for any of the languages you have listed. There is a cool progress bar and it also shows you which users have made the biggest contributions. Its basically awesome.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This has cool features like showing you the google translate version of any string, so I guess you can check that people are not typing in absolute nonsense (or worse, something offensive), and people can vote on each others contributions etc. I think you can ban people too, if they are being malicious. Its basically a reall well-thought out system for doing exactly what I need.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"367\" src=\"https:\/\/www.positech.co.uk\/cliffsblog\/wp-content\/uploads\/2020\/10\/image-2.png\" alt=\"\" class=\"wp-image-5930\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">There is a free trial, and then it costs a monthly fee, but its cheap, and a no-brainer really. TBH the biggest hassle was writing the code to output all my translated data (<em>which is in csv files, and some ini files<\/em>) into the right format to be imported into their database. It works on the assumption of KEY = VALUE as opposed to some of my stuff which has KEY,VALUE1,VALUE2,VALUE3 etc, for a bunch of different columns of data.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">All-in-all it took about 90 minutes to write code to dump out all my text, and then manually submit the whole lot to the website. I also need to import the nearly-done fan-made italian translation I have, and eventually write my code in reverse to slurp up whatever format the site exports to and pump those values back into my own format.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Democracy 4 is, by its very nature, a global game, and its really cool to be able to leverage all the work jeff did regarding unicode, and vector rendering and fonts so we can support some often less-supported languages. I&#8217;m especially excited at the thought of Democracy 4 in Korean :D<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was musing about how on earth to manage the people who are keen to help out translating Democracy 4 when I was pointed at this awesome website called localizor which seems to be set up to do exactly what I needed: Localizor This is so cool. Its basically an online database for you to<\/p>\n<p class=\"text-right\"><span class=\"screen-reader-text\">Continue Reading&#8230; Democracy 4 crowdsourced translations now on localizor<\/span><a class=\"btn btn-secondary continue-reading\" href=\"https:\/\/www.positech.co.uk\/cliffsblog\/2020\/10\/09\/democracy-4-crowdsourced-translations-now-on-localizor\/\">Continue Reading&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,132,6],"tags":[],"class_list":["post-5929","post","type-post","status-publish","format-standard","hentry","category-business","category-democracy-4","category-game-design"],"_links":{"self":[{"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/posts\/5929","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/comments?post=5929"}],"version-history":[{"count":1,"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/posts\/5929\/revisions"}],"predecessor-version":[{"id":5931,"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/posts\/5929\/revisions\/5931"}],"wp:attachment":[{"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/media?parent=5929"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/categories?post=5929"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/tags?post=5929"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}