{"id":1146,"date":"2013-09-11T03:38:44","date_gmt":"2013-09-10T18:38:44","guid":{"rendered":"http:\/\/appsweets.net\/blog\/?p=1146"},"modified":"2013-09-11T03:38:44","modified_gmt":"2013-09-10T18:38:44","slug":"picking-up-the-locale","status":"publish","type":"post","link":"https:\/\/appsweets.net\/blog\/2013\/09\/11\/picking-up-the-locale\/","title":{"rendered":"picking up the locale"},"content":{"rendered":"<div class=\"db9cc8cdb64025d13c1cc9dad0a0e262\" data-index=\"1\" style=\"float: left; margin: 16px 16px 16px 0;\">\n<script type=\"text\/javascript\"><!--\r\ngoogle_ad_client = \"ca-pub-5825700137064158\";\r\n\/* 250sq, appsweets-blog *\/\r\ngoogle_ad_slot = \"4837931762\";\r\ngoogle_ad_width = 250;\r\ngoogle_ad_height = 250;\r\n\/\/-->\r\n<\/script>\r\n<script type=\"text\/javascript\"\r\nsrc=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\r\n<\/script>\n<\/div>\n<p>Presto Opera \u306e\u30a8\u30af\u30b9\u30c6\u30f3\u30b7\u30e7\u30f3\u306b\u304a\u3044\u3066\u3001\u30a8\u30af\u30b9\u30c6\u30f3\u30b7\u30e7\u30f3\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u3092 xhr \u306a\u308a\u306a\u3093\u306a\u308a\u3067\u8aad\u307f\u51fa\u3057\u305f\u5834\u5408\u3001\u5148\u3093\u3058\u3066 \/locales\/[\u73fe\u5728\u306e\u30ed\u30b1\u30fc\u30eb]\/[\u6307\u5b9a\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb] \u3068\u3044\u3046\u30d1\u30b9\u304c\u691c\u67fb\u3055\u308c\u3001\u305d\u3053\u306b\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308c\u3070\u512a\u5148\u3057\u3066\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u3002\u3053\u306e\u4ed5\u7d44\u307f\u3092\u3082\u3063\u3066\u3001i18n \u306b\u5bfe\u5fdc\u3057\u3066\u307e\u3059\uff01\u3000\u3068 Opera \u306f\u562f\u3044\u3066\u3044\u308b\u3002<\/p>\n<p>\u3053\u306e\u3068\u304d\u3001[\u73fe\u5728\u306e\u30ed\u30b1\u30fc\u30eb] \u3068\u306f\u5177\u4f53\u7684\u306b\u306f\u4f55\u306a\u306e\u304b\u3002\u305f\u3068\u3048\u3070 Opera \u306e\u8a2d\u5b9a\u3067 UI \u306e\u30ed\u30b1\u30fc\u30eb\u3092\u5909\u66f4\u3057\u3066\u3082\u3001\u30a8\u30af\u30b9\u30c6\u30f3\u30b7\u30e7\u30f3\u306e\u4e0a\u8a18\u306e\u4ed5\u7d44\u307f\u306b\u306f\u5f71\u97ff\u3057\u306a\u3044\u3088\u3046\u3060\u3002<\/p>\n<p>\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u305f\u72b6\u614b\u3067\u306f\u3001\u3060\u3044\u305f\u3044<\/p>\n<ul>\n<li>\u30b7\u30b9\u30c6\u30e0\u306e\u30ed\u30b1\u30fc\u30eb<\/li>\n<li>\u30ed\u30b0\u30a4\u30f3\u3057\u305f\u30e6\u30fc\u30b6\u306e\u30ed\u30b1\u30fc\u30eb<\/li>\n<li>\u5b9f\u884c\u3057\u305f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30ed\u30b1\u30fc\u30eb<\/li>\n<li>Opera \u306e\u8a2d\u5b9a: UI \u306e\u30ed\u30b1\u30fc\u30eb\u3001accept-language \u306b\u9001\u51fa\u3059\u308b\u30ed\u30b1\u30fc\u30eb<\/li>\n<\/ul>\n<p>\u307f\u305f\u3044\u306a\u968e\u5c64\u69cb\u9020\u3067\u30ed\u30b1\u30fc\u30eb\u304c\u5b9a\u7fa9\u3055\u308c\u308b\u3068\u601d\u3046\u3002Presto Opera \u306e\u30a8\u30af\u30b9\u30c6\u30f3\u30b7\u30e7\u30f3\u3067\u306f\u3001\u3069\u3046\u3082\u6700\u5f8c\u306e UI \u30ed\u30b1\u30fc\u30eb\u306f\u898b\u3066\u3044\u306a\u3044\u3088\u3046\u306a\u6c17\u304c\u3059\u308b\u3002\u3053\u306e\u3088\u3046\u306b\u3001\u30a8\u30af\u30b9\u30c6\u30f3\u30b7\u30e7\u30f3\u306e\u30ed\u30b1\u30fc\u30eb\u3092\u6c17\u8efd\u306b\u5207\u308a\u66ff\u3048\u3089\u308c\u306a\u3044\u306e\u306f\u7279\u306b\u30c6\u30b9\u30c8\u306e\u6642\u306b\u4e0d\u4fbf\u3060\u3002\u3068\u3044\u3046\u306e\u306f\u3001\u30c6\u30b9\u30c8\u306f en-us \u30ed\u30b1\u30fc\u30eb\u3067\u5b9f\u884c\u3059\u308b\u306e\u304c\u524d\u63d0\u3060\u304b\u3089\u3060\u3002Chrome \u306f\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u30ed\u30b1\u30fc\u30eb\u3092\u6307\u5b9a\u3067\u304d\u308b\u3001\u3042\u308b\u3044\u306f Firefox \u306f\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u306b\u8a2d\u5b9a\u3057\u305f\u30ed\u30b1\u30fc\u30eb\u304c Add on SDK \u306e\u30ed\u30b1\u30fc\u30eb\u30e2\u30b8\u30e5\u30fc\u30eb\u306b\u3082\u6b63\u3057\u304f\u5f71\u97ff\u3059\u308b\u306e\u3067\u554f\u984c\u306a\u3044\u306e\u3060\u3051\u3069\u3001Opera \u3060\u3051\u304c\u30dd\u30f3\u30b3\u30c4\u3060\u3002<\/p>\n<p>\u3068\u3044\u3046\u308f\u3051\u3067\u3001Opera \u30cd\u30a4\u30c6\u30a3\u30d6\u306e i18n \u30b7\u30b9\u30c6\u30e0\u3092\u305d\u306e\u307e\u307e\u5229\u7528\u3059\u308b\u306e\u3067\u306f\u306a\u304f\u3001navigator \u306e browserLanguage\/language\/userLanguage \u3042\u305f\u308a\u3092\u898b\u3066\u81ea\u524d\u3067\u30ed\u30b1\u30fc\u30eb\u3092\u6c7a\u5b9a\u3059\u308b\u3088\u3046\u306b\u3057\u305f\u3002<\/p>\n<p>\u3064\u307e\u308a\u7d50\u5c40\u306e\u3068\u3053\u308d Opera \u30cd\u30a4\u30c6\u30a3\u30d6\u306e i18n \u30b7\u30b9\u30c6\u30e0\u306f\u5229\u7528\u3057\u306a\u3044\u3053\u3068\u306b\u306a\u3063\u305f\u3002\u7528\u610f\u3055\u308c\u3066\u308b\u6a5f\u80fd\u304c\u30dd\u30f3\u30b3\u30c4\u904e\u304e\u3066\u5f79\u306b\u7acb\u305f\u306a\u3044\u3068\u3044\u3046\u306e\u306f\u3001\u307e\u3042 Opera \u306b\u304a\u3044\u3066\u306f\u3088\u304f\u3042\u308b\u8a71\u306a\u306e\u3067\u3042\u308a\u307e\u3059\u3002<\/p>\n<div class=\"db9cc8cdb64025d13c1cc9dad0a0e262\" data-index=\"1\" style=\"float: left; margin: 16px 16px 16px 0;\">\n<script type=\"text\/javascript\"><!--\r\ngoogle_ad_client = \"ca-pub-5825700137064158\";\r\n\/* 250sq, appsweets-blog *\/\r\ngoogle_ad_slot = \"4837931762\";\r\ngoogle_ad_width = 250;\r\ngoogle_ad_height = 250;\r\n\/\/-->\r\n<\/script>\r\n<script type=\"text\/javascript\"\r\nsrc=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\r\n<\/script>\n<\/div>\n\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>Presto Opera \u306e\u30a8\u30af\u30b9\u30c6\u30f3\u30b7\u30e7\u30f3\u306b\u304a\u3044\u3066\u3001\u30a8\u30af\u30b9\u30c6\u30f3\u30b7\u30e7\u30f3\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u3092 xhr \u306a\u308a\u306a\u3093\u306a\u308a\u3067\u8aad\u307f\u51fa\u3057\u305f\u5834\u5408\u3001\u5148\u3093\u3058\u3066 \/locales\/[\u73fe\u5728\u306e\u30ed\u30b1\u30fc\u30eb]\/[\u6307\u5b9a\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb] \u3068\u3044\u3046\u30d1\u30b9\u304c\u691c\u67fb\u3055\u308c\u3001\u305d\u3053\u306b\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308c\u3070\u512a\u5148\u3057\u3066\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u3002\u3053\u306e\u4ed5\u7d44\u307f\u3092\u3082\u3063\u3066\u3001i18n \u306b\u5bfe\u5fdc\u3057\u3066\u307e\u3059\uff01\u3000\u3068 Opera \u306f\u562f\u3044\u3066\u3044\u308b\u3002 \u3053\u306e\u3068\u304d\u3001[\u73fe\u5728\u306e\u30ed\u30b1\u30fc\u30eb] \u3068\u306f\u5177\u4f53\u7684\u306b\u306f\u4f55\u306a\u306e\u304b\u3002\u305f\u3068\u3048\u3070 Opera \u306e\u8a2d\u5b9a\u3067 UI \u306e\u30ed\u30b1\u30fc\u30eb\u3092\u5909\u66f4\u3057\u3066\u3082\u3001\u30a8\u30af\u30b9\u30c6\u30f3\u30b7\u30e7\u30f3\u306e\u4e0a\u8a18\u306e\u4ed5\u7d44\u307f\u306b\u306f\u5f71\u97ff\u3057\u306a\u3044\u3088\u3046\u3060\u3002 \u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u305f\u72b6\u614b\u3067\u306f\u3001\u3060\u3044\u305f\u3044 \u30b7\u30b9\u30c6\u30e0\u306e\u30ed\u30b1\u30fc\u30eb \u30ed\u30b0\u30a4\u30f3\u3057\u305f\u30e6\u30fc\u30b6\u306e\u30ed\u30b1\u30fc\u30eb \u5b9f\u884c\u3057\u305f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30ed\u30b1\u30fc\u30eb Opera \u306e\u8a2d\u5b9a: UI \u306e\u30ed\u30b1\u30fc\u30eb\u3001accept-language \u306b\u9001\u51fa\u3059\u308b\u30ed\u30b1\u30fc\u30eb \u307f\u305f\u3044\u306a\u968e\u5c64\u69cb\u9020\u3067\u30ed\u30b1\u30fc\u30eb\u304c\u5b9a\u7fa9\u3055\u308c\u308b\u3068\u601d\u3046\u3002Presto Opera \u306e\u30a8\u30af\u30b9\u30c6\u30f3\u30b7\u30e7\u30f3\u3067\u306f\u3001\u3069\u3046\u3082\u6700\u5f8c\u306e UI \u30ed\u30b1\u30fc\u30eb\u306f\u898b\u3066\u3044\u306a\u3044\u3088\u3046\u306a\u6c17\u304c\u3059\u308b\u3002\u3053\u306e\u3088\u3046\u306b\u3001\u30a8\u30af\u30b9\u30c6\u30f3\u30b7\u30e7\u30f3\u306e\u30ed\u30b1\u30fc\u30eb\u3092\u6c17\u8efd\u306b\u5207\u308a\u66ff\u3048\u3089\u308c\u306a\u3044\u306e\u306f\u7279\u306b\u30c6\u30b9\u30c8\u306e\u6642\u306b\u4e0d\u4fbf\u3060\u3002\u3068\u3044\u3046\u306e\u306f\u3001\u30c6\u30b9\u30c8\u306f en-us \u30ed\u30b1\u30fc\u30eb\u3067\u5b9f\u884c\u3059\u308b\u306e\u304c\u524d\u63d0\u3060\u304b\u3089\u3060\u3002Chrome \u306f\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u30ed\u30b1\u30fc\u30eb\u3092\u6307\u5b9a\u3067\u304d\u308b\u3001\u3042\u308b\u3044\u306f Firefox \u306f\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u306b\u8a2d\u5b9a\u3057\u305f\u30ed\u30b1\u30fc\u30eb\u304c Add on SDK \u306e\u30ed\u30b1\u30fc\u30eb\u30e2\u30b8\u30e5\u30fc\u30eb\u306b\u3082\u6b63\u3057\u304f\u5f71\u97ff\u3059\u308b\u306e\u3067\u554f\u984c\u306a\u3044\u306e\u3060\u3051\u3069\u3001Opera \u3060\u3051\u304c\u30dd\u30f3\u30b3\u30c4\u3060\u3002 &hellip; <a href=\"https:\/\/appsweets.net\/blog\/2013\/09\/11\/picking-up-the-locale\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[5,3,4],"class_list":["post-1146","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-javascript","tag-vi","tag-wasavi"],"_links":{"self":[{"href":"https:\/\/appsweets.net\/blog\/wp-json\/wp\/v2\/posts\/1146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/appsweets.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/appsweets.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/appsweets.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/appsweets.net\/blog\/wp-json\/wp\/v2\/comments?post=1146"}],"version-history":[{"count":4,"href":"https:\/\/appsweets.net\/blog\/wp-json\/wp\/v2\/posts\/1146\/revisions"}],"predecessor-version":[{"id":1150,"href":"https:\/\/appsweets.net\/blog\/wp-json\/wp\/v2\/posts\/1146\/revisions\/1150"}],"wp:attachment":[{"href":"https:\/\/appsweets.net\/blog\/wp-json\/wp\/v2\/media?parent=1146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/appsweets.net\/blog\/wp-json\/wp\/v2\/categories?post=1146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/appsweets.net\/blog\/wp-json\/wp\/v2\/tags?post=1146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}