<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ytnk531</author_name>
  <author_url>https://blog.hatena.ne.jp/ytnk531/</author_url>
  <blog_title>マイペースなRailsおじさん</blog_title>
  <blog_url>https://ytnk531.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby on Rails</anon>
    <anon>Ruby</anon>
  </categories>
  <description>概要 Ruby用の国際化(i18n)機能を提供するgem。ymlで書かれた設定ファイルを、規定の構造で設定しておくと、I18.tメソッドで翻訳を取得できる。 github.com 仕組み I18n.tの引数と、現在設定されているロケールを頼りにymlに書かれた対応関係に従って翻訳を返す。 I18n::BackEnd::Simpleに手を加えたい人もいるだろうから、Simpleを拡張できるようにした。オリジナルのTransformerをつくったら、こうやって読み込めば使える。 I18n::Backend::Simple.send(:include, I18n::Backend::Transfor…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fytnk531.hatenablog.com%2Fentry%2F2020%2F10%2F24%2F190027&quot; title=&quot;gemの概要を雑に把握するシリーズ② ruby-i18n/i18n - マイペースなRailsおじさん&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-10-24 19:00:27</published>
  <title>gemの概要を雑に把握するシリーズ② ruby-i18n/i18n</title>
  <type>rich</type>
  <url>https://ytnk531.hatenablog.com/entry/2020/10/24/190027</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
