Grial-UI-Kit-Support
Grial-UI-Kit-Support copied to clipboard
grial:Translate is not translating text after changing the resource file
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
- Change the Culture at runtime
- 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