You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From @Czapek83 on Tuesday, May 21, 2024 11:12:47 AM
Description
Created new maui project. Created Strings.resx, Strings.zh.resx, Strings.zh-Hans.resx, and Strings.zh-Hant.resx files with below values of SampleText:
On MainPage.xaml added label that will display proper text according to current language:
And now, when setting Iphone Region to "China mainland" and language to "Chinese Traditional", the SampleText is taken from Chinese, Simplified, but should be taken from Chinese, Traditional:
Steps to Reproduce
Create new maui project.
Create localized strings in Resources (Strings.zh-Hans.resx for Chinese Simplified and Strings.zh-Hant for Chinese Traditional) with different strings in it.
Use localized string in one of your screens
Change your Iphone region to "China mainland" and language to "Chinese Traditional".
Run your application and you can see that Chinese Simplified string is used.
From @github-actions[bot] on Tuesday, May 21, 2024 11:13:11 AM
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Issue moved from dotnet/runtime#102560
From @Czapek83 on Tuesday, May 21, 2024 11:12:47 AM
Description
Created new maui project. Created Strings.resx, Strings.zh.resx, Strings.zh-Hans.resx, and Strings.zh-Hant.resx files with below values of SampleText:
On MainPage.xaml added label that will display proper text according to current language:
And now, when setting Iphone Region to "China mainland" and language to "Chinese Traditional", the SampleText is taken from Chinese, Simplified, but should be taken from Chinese, Traditional:
Steps to Reproduce
Link to public reproduction project repository
https://github.com/Czapek83/Chinese_LanguageIssue
Version with bug
8.0.21 SR4.1
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
IOS 16.7.7, IOS 17.4.1
Did you find any workaround?
Unfortunatelly, not at all.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: