Share via

How to disable Localization in Windows.

Anonymous
2024-06-11T10:08:29.73+00:00

Hello Team,

Currently my application configured with the different resx files. So when ever any change in the language in the device it automatically updates with the respective language. I want restrict that. On changes the language, changes should not reflect.

Operating system tested : Windows.

Thanks
Vaibhav Methuku.

Developer technologies | .NET | .NET Multi-platform App UI
0 comments No comments

2 answers

Sort by: Most helpful
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,456 Reputation points Microsoft External Staff
    2024-06-13T09:08:54.68+00:00

    Hello,

    There is a Platforms\Windows\Package.appxmanifest file of your MAUI project, you can edit the Resource to support English only. (Or other language)

    <Resources>
        <Resource Language="en-US"/>
    </Resources>
    

    For more details, please refer to Localization - .NET MAUI | Microsoft Learn

    Best Regards,

    Wenyan Zhang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?

    0 comments No comments

  2. Miguel Gonçalves 971 Reputation points
    2024-06-11T10:45:30.85+00:00

    HI,

    You can disable in windows (search for location). You can prevent automatic language updates based on the device’s language settings. Keep in mind that this will only apply to apps listed in the “Choose apps that can use your location” section.

    Other apps, such as browsers or desktop programs, may still determine your location using your IP address and other basic information

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.