UnityMobileLocalizedAppTitle icon indicating copy to clipboard operation
UnityMobileLocalizedAppTitle copied to clipboard

Try fix AppName not work for Tradionnal Chinese on iOS

Open SyaoranChang opened this issue 1 year ago • 3 comments

Hi,

I think this should be easier to use for both Android and iOS platforms, about "-r" or "-" issue, like Unrecognized Locale #3 And Android doesn't work with "zh-Hant" and "zh-Hans", but iOS does.

Try fix AppName not work for Tradionnal Chinese on iOS Add ReplaceLanguageCode() Replace LanguageCode from "-r" to "-" for iOS LanguageCode use "zh-Hant" and "zh-Hans" for Chinese for iOS

SyaoranChang avatar Feb 21 '24 06:02 SyaoranChang

Hi,

GitHub shows the whole file as changed. Could you fix it with another commit? And did you try zh-CN and zh-TW beforehand?

yasirkula avatar Feb 22 '24 17:02 yasirkula

Hi,

GitHub shows the whole file as changed. Could you fix it with another commit? And did you try zh-CN and zh-TW beforehand?

1.OK, I will create a new Pull Request later 2.I only try zh and zh-rTW for Chinese, I didn't try zh-CN and zh-TW beforehand.

SyaoranChang avatar Feb 23 '24 07:02 SyaoranChang

Did zh not work? And could you give zh-TW a try? If it works on your device, as well, then it should be a solid solution.

yasirkula avatar Feb 23 '24 11:02 yasirkula

Hi,

Sorry for taking so long to respond, I just had time to do the test today. I tested zh-CN and zh-TW using the simulator on Android 7, 9 and iOS 15 and the language change seems to be correct! It looks like my changes were not needed. Thank you for your reply.

SyaoranChang avatar May 13 '24 09:05 SyaoranChang

This is the article I first read. But it doesn't seem to be necessary anymore. https://stackoverflow.com/questions/44714408/android-simplified-chinese-and-traditional-chinese-not-working

SyaoranChang avatar May 13 '24 09:05 SyaoranChang

Glad to hear it! Thank you for sharing your findings.

yasirkula avatar May 13 '24 10:05 yasirkula