Skip to content

Ios Maui sample app uses Chinese Simplified when Chinese Traditional is set in phone preferences #102560

Closed
@Czapek83

Description

@Czapek83

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:
image

On MainPage.xaml added label that will display proper text according to current language:
image

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:
image

Steps to Reproduce

  1. Create new maui project.
  2. Create localized strings in Resources (Strings.zh-Hans.resx for Chinese Simplified and Strings.zh-Hant for Chinese Traditional) with different strings in it.
  3. Use localized string in one of your screens
  4. Change your Iphone region to "China mainland" and language to "Chinese Traditional".
  5. Run your application and you can see that Chinese Simplified string is used.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions