xamarin/Xamarin.Forms

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

Aperta

#6875 aperta il 15 lug 2019

 (1 commento) (1 reazione) (0 assegnatari)C# (1926 fork)batch import
a/binding ⛓a/l10ne/5 :clock5:help wantedp/UWPt/bug :bug:up-for-grabs

Metriche repository

Star
 (5644 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor