<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>karlley_jp</author_name>
  <author_url>https://blog.hatena.ne.jp/karlley_jp/</author_url>
  <blog_title>時々とおまわり</blog_title>
  <blog_url>https://karlley.hatenablog.jp/</blog_url>
  <categories>
    <anon>Rails</anon>
  </categories>
  <description>前回の記事でi18nの概要は掴んだつもりなので、実際に多言語化する設定を行います。 多言語化する方法はいくつかありますが、一番シンプルそうなparamsで言語を切り替える方法を行います。 結論 下記手順で多言語化の設定を行う。 デフォルト言語設定、ロケールファイルの読込設定 URLクエリパラメータでロケールの切替設定 ロケールファイルの作成 学習用アプリのリポジトリ: karlley/fjord-books_app at 02-i18n 1. デフォルト言語設定、ロケールファイルの読込設定 デフォルトロケールの設定をconfig/application.rb に記述する。 config/loc…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkarlley.hatenablog.jp%2Fentry%2F2022%2F07%2F14%2F125820&quot; title=&quot;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>2022-07-14 12:58:20</published>
  <title>i18nで多言語化する設定</title>
  <type>rich</type>
  <url>https://karlley.hatenablog.jp/entry/2022/07/14/125820</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
