<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hidehara</author_name>
  <author_url>https://blog.hatena.ne.jp/hidehara/</author_url>
  <blog_title>AWS / PHP / Python ちょいメモ</blog_title>
  <blog_url>https://hideharaaws.hatenablog.com/</blog_url>
  <categories>
    <anon>CakePHP2.x</anon>
    <anon>TIPS</anon>
    <anon>PHP</anon>
  </categories>
  <description>CakePHPのi18n（＋10n？）機能を使うと、Webページの文章の多言語はもとより、404, 500エラーなどのエラーページのメッセージなども多言語化できます。そもそも、デフォルトで生成されるコード（Layout/default.ctpなど）は、多言語化利用を前提としたつくりになっており、各所に __(...) とか _d(..) のようなi18nのメソッドが散見されます。最初は何の事かわからず苦労しました。そのため多言語化する予定はなくとも、Cakeを利用される方は知っておくと迷わなくなるので良いのではないかと。 以下、CakePHP2.4.10で実施した手順のメモ 手順</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhideharaaws.hatenablog.com%2Fentry%2F2015%2F02%2F15%2F164544&quot; title=&quot;CakePHP 多言語化ステップ - AWS / PHP / Python ちょいメモ&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>2015-02-15 16:45:44</published>
  <title>CakePHP 多言語化ステップ</title>
  <type>rich</type>
  <url>https://hideharaaws.hatenablog.com/entry/2015/02/15/164544</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
