Cant distinguish zh-TW and zh-CN
- hugobozzshih007
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
9 years 8 months ago #660
by hugobozzshih007
Cant distinguish zh-TW and zh-CN was created by hugobozzshih007
On iOS and Mac OSX
I set two language Simplified Chinese (zh-CN), and Traditional Chinese (zh-TW)
No matter what I set to my OS language, it will use the first language in order.
(if OS language is any Chinese, it will show the Simplified Chinese when Simplified Chinese is the first one in I2 setting)
I'm not sure if this is the problem on iOS or your plugin.
Please fix it.
If you cannot reproduce the bug. Please ping me asap.
I set two language Simplified Chinese (zh-CN), and Traditional Chinese (zh-TW)
No matter what I set to my OS language, it will use the first language in order.
(if OS language is any Chinese, it will show the Simplified Chinese when Simplified Chinese is the first one in I2 setting)
I'm not sure if this is the problem on iOS or your plugin.
Please fix it.
If you cannot reproduce the bug. Please ping me asap.
Please Log in or Create an account to join the conversation.
- hugobozzshih007
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
9 years 8 months ago #661
by hugobozzshih007
Replied by hugobozzshih007 on topic Cant distinguish zh-TW and zh-CN
I think I found the bug.
If you are using Application.systemlanguage to get the Mac OS language
you always get "Chinese" only (no matter what kind of Chinese you set in Mac OSX or iOS)
So I think, the problem is still in your plugin.
Please fix it.
If you are using Application.systemlanguage to get the Mac OS language
you always get "Chinese" only (no matter what kind of Chinese you set in Mac OSX or iOS)
So I think, the problem is still in your plugin.
Please fix it.
Please Log in or Create an account to join the conversation.
- hugobozzshih007
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
9 years 8 months ago #662
by hugobozzshih007
Replied by hugobozzshih007 on topic Cant distinguish zh-TW and zh-CN
I found the solution.........
Please Log in or Create an account to join the conversation.
9 years 8 months ago #664
by Frank
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
Replied by Frank on topic Cant distinguish zh-TW and zh-CN
Hi,
Yes, the plugin uses the language returned by Unity's systemLanguage.
In the feature list for version 3 I scheduled to include code to modify the xcode/android project to get more accurate regions. But I have been focusing on the more requested features like plurals, touch/mouse devices differentiation and an easier setup for global terms.
I have those almost ready to be released and as soon as they get released, I will add code specialization to detect better the device language because on some platforms Unity doesn't detect the variant properly.
Nonetheless, if you found a simpler way, just let me know and I will include it in the plugin.
Thanks,
Frank
Yes, the plugin uses the language returned by Unity's systemLanguage.
In the feature list for version 3 I scheduled to include code to modify the xcode/android project to get more accurate regions. But I have been focusing on the more requested features like plurals, touch/mouse devices differentiation and an easier setup for global terms.
I have those almost ready to be released and as soon as they get released, I will add code specialization to detect better the device language because on some platforms Unity doesn't detect the variant properly.
Nonetheless, if you found a simpler way, just let me know and I will include it in the plugin.
Thanks,
Frank
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
To get the betas as soon as they are ready,
check this out
Please Log in or Create an account to join the conversation.
- hugobozzshih007
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
9 years 8 months ago #666
by hugobozzshih007
Replied by hugobozzshih007 on topic Cant distinguish zh-TW and zh-CN
My solution needs Xcode.
So i guess, it's not easy for you to integrate into the plugin.
In most situations, systemLanguage can solve this. But you know, Chinese is too complicate.
Still, hope that you can solve this problem.
So i guess, it's not easy for you to integrate into the plugin.
In most situations, systemLanguage can solve this. But you know, Chinese is too complicate.
Still, hope that you can solve this problem.
Please Log in or Create an account to join the conversation.
9 years 8 months ago #669
by Frank
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
Replied by Frank on topic Cant distinguish zh-TW and zh-CN
Yes, we are talking about the same approach
I added a build step to modify the xcode when building for IOS to access the os locales. But I have still to do the same for the other platforms.
As soon as I finish this next version I will do the same for android and the other os.
Thanks,
Frank
I added a build step to modify the xcode when building for IOS to access the os locales. But I have still to do the same for the other platforms.
As soon as I finish this next version I will do the same for android and the other os.
Thanks,
Frank
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
To get the betas as soon as they are ready,
check this out
Please Log in or Create an account to join the conversation.
Time to create page: 0.172 seconds