<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kanahebiZ</author_name>
  <author_url>https://blog.hatena.ne.jp/kanahebiZ/</author_url>
  <blog_title>もふもふ技術部</blog_title>
  <blog_url>https://www.mof-mof.co.jp/tech-blog/</blog_url>
  <categories>
    <anon>Rails</anon>
    <anon>i18n</anon>
  </categories>
  <description>Railsで日本語化をするとき、「あれどうやるんだっけ」と意外と忘れてしまうこともあると思います。 今回はそんな日本語化の話をしたいと思います！ 事前準備 config/application.rb に以下の設定を追加します。 config.i18n.default_locale = :ja config.i18n.load_path += Dir[Rails.root.join('config', 'locales', '**', '*.{rb,yml}').to_s] ファイルを設置する 雛形ファイルを持ってくる 日本語の雛形ファイルは以下を使うのがおおすすめです。 バリデーションエラーな…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.mof-mof.co.jp%2Ftech-blog%2F2024%2F10%2F02%2F100000&quot; title=&quot;【Rails】I18nを使った日本語化 - もふもふ技術部&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>2024-10-02 10:00:00</published>
  <title>【Rails】I18nを使った日本語化</title>
  <type>rich</type>
  <url>https://www.mof-mof.co.jp/tech-blog/2024/10/02/100000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
