<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gin0606</author_name>
  <author_url>https://blog.hatena.ne.jp/gin0606/</author_url>
  <blog_title>銀の人のメモ帳</blog_title>
  <blog_url>https://gin0606.hatenablog.com/</blog_url>
  <categories>
    <anon>iOS</anon>
  </categories>
  <description>調べてる途中で必要なくなって中途半端な感じだけど備忘録的な。 システムの言語設定とかが UserDefaults に渡されて、NSLocalizedString とかはそれを見て返す言語を変えてるらしかった。 以下のように言語とかロケール系の設定を上書きすると、次回起動時から上書きした設定が使用される。 3つ上書きしてるけど、最低限どれを変えれば良いのかとかは調べてない。 userDefaults.synchronize() した後に NSLocalizedString 読んでも上書き前のものが返ってきてた。 let userDefaults = UserDefaults.standard l…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgin0606.hatenablog.com%2Fentry%2F2018%2F01%2F11%2F135707&quot; title=&quot;iOS アプリの言語設定をコードで変える - 銀の人のメモ帳&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>2018-01-11 13:57:07</published>
  <title>iOS アプリの言語設定をコードで変える</title>
  <type>rich</type>
  <url>https://gin0606.hatenablog.com/entry/2018/01/11/135707</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
