{"id":199,"date":"2004-11-12T08:28:51","date_gmt":"2004-11-12T14:28:51","guid":{"rendered":"http:\/\/www.mooreds.com\/wordpress\/?p=199"},"modified":"2004-11-12T08:28:51","modified_gmt":"2004-11-12T14:28:51","slug":"testing-korean-content","status":"publish","type":"post","link":"https:\/\/www.mooreds.com\/wordpress\/archives\/199","title":{"rendered":"Testing Korean content"},"content":{"rendered":"<p>I&#8217;m currently working on a site that needs to be truly localized for a large number of languages (tens of them).  This is accomplished with large numbers of <a href='http:\/\/java.sun.com\/j2se\/1.4.2\/docs\/api\/java\/util\/ResourceBundle.html'>ResourceBundles<\/a>, the <a href='http:\/\/java.sun.com\/j2se\/1.4.2\/docs\/api\/java\/text\/MessageFormat.html'>MessageFormat<\/a> class when variable text layout is needed, an Oracle backend which understands and doesn&#8217;t muck with UTF-8, an Access database which generates said bundles, and a crack team of translators.  <\/p>\n<p>However, how to test?  Luckily, it&#8217;s fairly easy to have IE use a different language: <a href='http:\/\/www.alanwood.net\/unicode\/explorer.html#ie5'>clear instructions live here<\/a>.  One issue with the instructions is that they don&#8217;t tell you how to actually install a language pack.  But this is easy too: I only had to right click on a page, choose the encoding menu, then choose more, and then the encoding I wanted (Korean, because I want to test double byte characters).  I was then prompted to install a language pack.  I accepted, and Windows downloaded a bunch of DLLs and other files.  From then on I could view Korean characters (the encoding menu says I&#8217;m viewing &#8216;Unicode (UTF-8)&#8217;).   <a href='http:\/\/imb.kangwon.ac.kr\/imb.php'>Here&#8217;s a random site about mining<\/a> that you can use to test your Korean language pack.  <\/p>\n<p>Don&#8217;t forget to test both the input and output of your application&#8211;saving user input, and being able to redisplay it is at least as important as being able to display what you draw from your ResourceBundle initially.  As a bonus, the Korean character set that I installed via IE was made available to Firefox.  This was done on the fly, not only did I not need to restart Windows, I didn&#8217;t even need to restart Firefox; I just needed to reload the page.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m currently working on a site that needs to be truly localized for a large number of languages (tens of them). This is accomplished with large numbers of ResourceBundles, the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-199","post","type-post","status-publish","format-standard","hentry","category-programming"],"_links":{"self":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/199","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/comments?post=199"}],"version-history":[{"count":0,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/199\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/media?parent=199"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/categories?post=199"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/tags?post=199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}