Grial-UI-Kit-Support icon indicating copy to clipboard operation
Grial-UI-Kit-Support copied to clipboard

grial:Translate is not translating text after changing the resource file

Open shijo-kg opened this issue 3 months ago • 1 comments

grial:Translate is not translating text after changing the resource file

Description

We are switching the culture at runtime. In the code-behind, we can see that the value is coming through correctly with the culture text (Resx.AppResources.StringHome). However, in XAML, where we are using Text="{grial:Translate StringHome}", it is not changing.

Steps to Reproduce

  1. Change the Culture at runtime
  2. Check any page which is using Text="{grial:Translate StringHome}"

Expected Behavior

Should Display proper text available in the specified culture resource file

Actual Behavior

Not changing the value, always displaying english

Basic Information

  • Version with issue (.NET Maui or Xamarin.Forms?): MAUI 8.0
  • IDE: Visual Studio
  • Platform Target Frameworks:
    • iOS: 17.2

Screenshots

image

shijo-kg avatar Oct 29 '24 11:10 shijo-kg