Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Android Localizationer threw an uncaught PluginException #39

Open
jinweime opened this issue Nov 21, 2017 · 2 comments
Open

Android Localizationer threw an uncaught PluginException #39

jinweime opened this issue Nov 21, 2017 · 2 comments

Comments

@jinweime
Copy link

No description provided.

@JantHsueh
Copy link

@jinweime 去这里下载最新版 https://github.com/JantHsueh/AndroidLocalizationer/releases 有问题联系我

@stephen1i
Copy link

stephen1i commented Dec 20, 2017

@JantHsueh 两个问题,
1、value/strings.xml里的内容如果是这样:

<resources>
    <string name="app_name">TestAndroid</string>
    <string name="item_content">马云-一年交税170多亿,这样下去,总有一天倒下?其实是谦虚了吧</string>
    <string name="item_label">8分钟前</string>
</resources>

生成的value-zh-rCN/strings.xml是这样:

<resources>
	<string name="app_name">测试安卓</string>
	<string name="item_content">马云-一年交税170多亿,这样下去,总有一天倒</string>
	<string name="item_label">其实是谦虚了吧</string>
</resources>

value-en/strings.xml是这样:

<resources>
	<string name="app_name">Test Android</string>
	<string name="item_content">Ma Yun - more than 170 billion tax year, so go on, one day fall</string>
	<string name="item_label">In fact, it is modest</string>
</resources>

item_label翻译错了。

2、value/strings.xml里的内容如果是这样:

<resources>
    <string name="app_name">测试安卓</string>
    <string name="item_content">马云-一年交税170多亿,这样下去,总有一天倒下?其实是谦虚了吧</string>
    <string name="item_label">8分钟前</string>
</resources>

生成的value-ja/strings.xml是这样:

<resources>
	<string name="app_name">TestAndroid</string>
	<string name="item_content">馬允 -  170億年以上の課税年度があるので、一日落ちます</string>
	<string name="item_label">実際、それは控えめです</string>
</resources>

value-zh-rCN/strings.xml是这样:

<resources>
	<string name="app_name">TestAndroid</string>
	<string name="item_content">马云-一年交税170多亿,这样下去,总有一天倒</string>
	<string name="item_label">其实是谦虚了吧</string>
</resources>

app_name翻译错了。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants