{"id":1120,"date":"2015-01-29T16:01:06","date_gmt":"2015-01-29T08:01:06","guid":{"rendered":"https:\/\/umarzuki.org\/blogku\/?p=1120"},"modified":"2015-01-29T16:01:06","modified_gmt":"2015-01-29T08:01:06","slug":"setting-locale-failed","status":"publish","type":"post","link":"https:\/\/umarzuki.org\/blog\/2015\/01\/29\/setting-locale-failed\/","title":{"rendered":"Setting locale failed"},"content":{"rendered":"<p>Jika anda set negara sebagai Malaysia semasa pemasangan Ubuntu, setiap kali memasang pakej anda terlihat mesej berikut<\/p>\n<p>[code lang=&#8217;plain&#8217;]perl: warning: Setting locale failed.<br \/>\nperl: warning: Please check that your locale settings:<br \/>\n\tLANGUAGE = &#8220;en_US:en&#8221;,<br \/>\n\tLC_ALL = (unset),<br \/>\n\tLC_TIME = &#8220;ms_MY.UTF-8&#8221;,<br \/>\n\tLC_MONETARY = &#8220;ms_MY.UTF-8&#8221;,<br \/>\n\tLC_ADDRESS = &#8220;ms_MY.UTF-8&#8221;,<br \/>\n\tLC_TELEPHONE = &#8220;ms_MY.UTF-8&#8221;,<br \/>\n\tLC_NAME = &#8220;ms_MY.UTF-8&#8221;,<br \/>\n\tLC_MEASUREMENT = &#8220;ms_MY.UTF-8&#8221;,<br \/>\n\tLC_IDENTIFICATION = &#8220;ms_MY.UTF-8&#8221;,<br \/>\n\tLC_NUMERIC = &#8220;ms_MY.UTF-8&#8221;,<br \/>\n\tLC_PAPER = &#8220;ms_MY.UTF-8&#8221;,<br \/>\n\tLANG = &#8220;en_US.UTF-8&#8221;<br \/>\n    are supported and installed on your system.<br \/>\nperl: warning: Falling back to the standard locale (&#8220;C&#8221;).<br \/>\nlocale: Cannot set LC_ALL to default loc<br \/>\nle: No such file or directory[\/code]<\/p>\n<p>Penyelesaiannya:<\/p>\n<p><code>$ sudo locale-gen ms_MY.UTF-8<br \/>\nGenerating locales...<br \/>\n  ms_MY.UTF-8... done<br \/>\nGeneration complete.<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Jika anda set negara sebagai Malaysia semasa pemasangan Ubuntu, setiap kali memasang pakej anda terlihat mesej berikut [code lang=&#8217;plain&#8217;]perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = &#8220;en_US:en&#8221;, LC_ALL = (unset), LC_TIME = &#8220;ms_MY.UTF-8&#8221;, LC_MONETARY = &#8220;ms_MY.UTF-8&#8221;, LC_ADDRESS = &#8220;ms_MY.UTF-8&#8221;, LC_TELEPHONE = &#8220;ms_MY.UTF-8&#8221;, LC_NAME = &#8220;ms_MY.UTF-8&#8221;, LC_MEASUREMENT = &#8220;ms_MY.UTF-8&#8221;, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[358,359,29],"class_list":["post-1120","post","type-post","status-publish","format-standard","hentry","category-linux","tag-locale","tag-malay","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/posts\/1120","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/comments?post=1120"}],"version-history":[{"count":0,"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/posts\/1120\/revisions"}],"wp:attachment":[{"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/media?parent=1120"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/categories?post=1120"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/tags?post=1120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}