<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>no-work-no-life-4081</author_name>
  <author_url>https://blog.hatena.ne.jp/no-work-no-life-4081/</author_url>
  <blog_title>AppSeedのアプリ開発ブログ</blog_title>
  <blog_url>https://develop.hateblo.jp/</blog_url>
  <categories>
    <anon>Cocos2d-x</anon>
  </categories>
  <description>Cocos2d-xで簡易的にローカライズ対応を行う方法についてのメモ。とりあえず英語か日本語かで判定して、言語別に文字列を返す場合は以下の方法が使えます。auto Langauge = Application::getInstance()-&gt;getCurrentLanguage(); 実際に使う場合は、文字列のIDを定義しておいて、文字列IDに応じて、それぞれの言語の文字列を返すっていう実装になります。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdevelop.hateblo.jp%2Fentry%2Fcocos2d-x-localize&quot; title=&quot;【Cocos2d-x】ローカライズ対応 日本語か英語かで処理を分ける - AppSeedのアプリ開発ブログ&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>https://nzigen.com/ysawa/wp-content/uploads/2016/05/800x480_2dx_landscape.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-09-06 07:32:06</published>
  <title>【Cocos2d-x】ローカライズ対応 日本語か英語かで処理を分ける</title>
  <type>rich</type>
  <url>https://develop.hateblo.jp/entry/cocos2d-x-localize</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
