<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	《Flutter（八）&#124; 用Intl插件国际化》的评论	</title>
	<atom:link href="https://wangqianhong.com/2021/04/flutter%EF%BC%88%E5%85%AB%EF%BC%89-%E7%94%A8intl%E6%8F%92%E4%BB%B6%E5%9B%BD%E9%99%85%E5%8C%96/feed/" rel="self" type="application/rss+xml" />
	<link>https://wangqianhong.com/2021/04/flutter%ef%bc%88%e5%85%ab%ef%bc%89-%e7%94%a8intl%e6%8f%92%e4%bb%b6%e5%9b%bd%e9%99%85%e5%8c%96/</link>
	<description>和而不同</description>
	<lastBuildDate>Tue, 07 Mar 2023 03:12:05 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		作者：wqh_work		</title>
		<link>https://wangqianhong.com/2021/04/flutter%ef%bc%88%e5%85%ab%ef%bc%89-%e7%94%a8intl%e6%8f%92%e4%bb%b6%e5%9b%bd%e9%99%85%e5%8c%96/#comment-20</link>

		<dc:creator><![CDATA[wqh_work]]></dc:creator>
		<pubDate>Fri, 15 Oct 2021 14:04:13 +0000</pubDate>
		<guid isPermaLink="false">https://wangqianhong.com/?p=1415#comment-20</guid>

					<description><![CDATA[回复给&lt;a href=&quot;https://wangqianhong.com/2021/04/flutter%ef%bc%88%e5%85%ab%ef%bc%89-%e7%94%a8intl%e6%8f%92%e4%bb%b6%e5%9b%bd%e9%99%85%e5%8c%96/#comment-12&quot;&gt;breeze&lt;/a&gt;。

你可以看看下一章，国际化会跟随手机系统语言自动切换]]></description>
			<content:encoded><![CDATA[<p>回复给<a href="https://wangqianhong.com/2021/04/flutter%ef%bc%88%e5%85%ab%ef%bc%89-%e7%94%a8intl%e6%8f%92%e4%bb%b6%e5%9b%bd%e9%99%85%e5%8c%96/#comment-12">breeze</a>。</p>
<p>你可以看看下一章，国际化会跟随手机系统语言自动切换		</p>
<div class="wpulike wpulike-default ">
<div class="wp_ulike_general_class wp_ulike_is_not_liked"><button type="button"
					aria-label="点赞按钮"
					data-ulike-id="20"
					data-ulike-nonce="3421e1e0d8"
					data-ulike-type="comment"
					data-ulike-template="wpulike-default"
					data-ulike-display-likers=""
					data-ulike-disable-pophover=""
					class="wp_ulike_btn wp_ulike_put_image wp_comment_btn_20"></button><span class="count-box">0</span>			</div>
</div>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		作者：breeze		</title>
		<link>https://wangqianhong.com/2021/04/flutter%ef%bc%88%e5%85%ab%ef%bc%89-%e7%94%a8intl%e6%8f%92%e4%bb%b6%e5%9b%bd%e9%99%85%e5%8c%96/#comment-12</link>

		<dc:creator><![CDATA[breeze]]></dc:creator>
		<pubDate>Mon, 23 Aug 2021 06:25:51 +0000</pubDate>
		<guid isPermaLink="false">https://wangqianhong.com/?p=1415#comment-12</guid>

					<description><![CDATA[void switchLanguage(int index) {
    switch (index) {
      case 0:
        S.delegate.supportedLocales[1];
        break;
      case 1:
        S.delegate.supportedLocales[0];
        break;
    }
  }  你好，切换语言的时候报错，请问咋解决    使用是localizationsDelegates: [
          S.delegate, // 应用程序的翻译回调
          // AppLocalizations.delegate, // 自定义国际化内容，由intl生成
          GlobalMaterialLocalizations.delegate, // 全局Material国际化
          GlobalWidgetsLocalizations.delegate, // 全局Widget国际化
          GlobalCupertinoLocalizations.delegate, // 全局Cupertino国际化
        ],
        supportedLocales: S.delegate.supportedLocales,
        locale: setting._locale,]]></description>
			<content:encoded><![CDATA[<p>void switchLanguage(int index) {<br />
    switch (index) {<br />
      case 0:<br />
        S.delegate.supportedLocales[1];<br />
        break;<br />
      case 1:<br />
        S.delegate.supportedLocales[0];<br />
        break;<br />
    }<br />
  }  你好，切换语言的时候报错，请问咋解决    使用是localizationsDelegates: [<br />
          S.delegate, // 应用程序的翻译回调<br />
          // AppLocalizations.delegate, // 自定义国际化内容，由intl生成<br />
          GlobalMaterialLocalizations.delegate, // 全局Material国际化<br />
          GlobalWidgetsLocalizations.delegate, // 全局Widget国际化<br />
          GlobalCupertinoLocalizations.delegate, // 全局Cupertino国际化<br />
        ],<br />
        supportedLocales: S.delegate.supportedLocales,<br />
        locale: setting._locale,		</p>
<div class="wpulike wpulike-default ">
<div class="wp_ulike_general_class wp_ulike_is_not_liked"><button type="button"
					aria-label="点赞按钮"
					data-ulike-id="12"
					data-ulike-nonce="4317e0a040"
					data-ulike-type="comment"
					data-ulike-template="wpulike-default"
					data-ulike-display-likers=""
					data-ulike-disable-pophover=""
					class="wp_ulike_btn wp_ulike_put_image wp_comment_btn_12"></button><span class="count-box">0</span>			</div>
</div>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
