xamarin/Xamarin.Forms

[UWP] Switching between cultures on Run-time in release mode

Open

#6,875 opened on Jul 15, 2019

 (1 comment) (1 reaction) (0 assignees)C# (1,926 forks)batch import
a/binding ⛓a/l10ne/5 :clock5:help wantedp/UWPt/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Description

We can't switch between cultures on Run-time in release mode. Everything is working fine in debug mode!

Notes: 1- My PC culture is "en-US". 2- If we don't use binding, everything is working as we expected.

Steps to Reproduce

  1. Run app in debug mode.
  2. Switch between cultures by clicking on buttons and everything is working as we expected.
  3. Run app in release mode
  4. Switch between cultures by clicking on buttons.
  5. When we on "en-US" culture and we are going to switch to "en-GB" culture, we must double click on Convert to Pound button to take effect.

Expected Behavior

On debug mode : By one click on "Convert to Pound" button "en-GB" culture takes effect. On release mode By one click on "Convert to Pound" button "en-GB" culture takes effect.

Actual Behavior

On debug mode : By one click on "Convert to Pound" button "en-GB" culture takes effect. On release mode : By double click on "Convert to Pound" button "en-GB" culture takes effect.

Basic Information

  • Version with issue: 4.1.0.581479
  • Last known good version: -
  • IDE: Visual Studio 2019 16.1.6
  • Platform Target Frameworks:
    • UWP: 16299
  • Nuget Packages: Xamarin.Forms, Xamarin.Essentials
  • Affected Devices: Windows 10 version 1809 build number 17763

Reproduction Link

CultureTest.zip

Contributor guide