{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyasutomo57jp.hatenadiary.org%2Fentry%2F20090606%2F1244271656\" title=\"i18nizer - \u30d6\u30ed\u30b0\uff08\u7b11\uff09\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://yasutomo57jp.hatenadiary.org/","type":"rich","image_url":null,"blog_title":"\u30d6\u30ed\u30b0\uff08\u7b11\uff09","version":"1.0","description":"\u3069\u3093\u306a\u6587\u5b57\u5217\u3082i18n \u306a\u8868\u8a18\u306b\u5909\u3048\u3066\u3057\u307e\u3046\u30b9\u30af\u30ea\u30d7\u30c8\u3092Ruby\u3067\u66f8\u3044\u3066\u307f\u305f\uff0e #!/usr/bin/env ruby # i18n\u306e\u3088\u3046\u306a\u8868\u8a18\u306b\u5909\u63db\u3059\u308b\u30d6\u30ed\u30c3\u30af i18nize=lambda do | token | if token.length > 2 num=token[1..token.length-2].length token[0,1] + num.to_s + token[token.length-1,1] else token end end # \u30e1\u30a4\u30f3\u90e8\u5206 print $_.scan(/[A-Za-z0-9]+|\\.|,/).map(&i18nize).join(\" \")+\u2026","height":"190","provider_name":"Hatena Blog","title":"i18nizer","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/yasutomo57jp/","author_name":"yasutomo57jp","width":"100%","published":"2009-06-06 16:00:56","categories":["\u4f5c\u3063\u3066\u307f\u305f","\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"url":"https://yasutomo57jp.hatenadiary.org/entry/20090606/1244271656"}