Replies: 1 comment
-
Thanks for the report, see #15220 (comment) for a resolution. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm new to the Uno platform, but I'm familiar with the mvvm pattern through wpf.
The question I want to ask today is about Uno's multilingual system, unrelated to the MVVM pattern.
I am using Uno's default template, and there are resw files as shown below.
Every resw file has a key called "Loading" and a corresponding string value.
And I created a structure so that the RegisterCommandAsync function is called when the Register button is clicked.
Inside the RegisterCommandAsync function, the ErrorMessage is written to retrieve the string value for the Loading key through the multilingual code recommended by the Uno Platform, as shown in the code below.
var pp = ResourceLoader.GetForViewIndependentUse().GetString("Loading");
However, even though there is a Loading key value, the value of pp is empty.
Can anyone tell me what I missed? Any help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions