You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a helper that I often call, which does this:
public static string GetLocalizedText(string name, params object[] args)
{
String translated = Localizer.Get().GetLocalizedString(name);
if (translated == "")
Logger.Write(LogLevel.Warning, $"String {name} not found in string resources.");
return string.Format(translated == "" ? $"LOCALIZATION ERROR: String {name} not found in string resources." : translated, args);
}
When stepping through the application, I can actually see the strings under the ILocalizer, but it always returns String.Empty in the end.
The app is unpackaged, and I'm not sure if this is enough information so please lmk if you need more.
The text was updated successfully, but these errors were encountered:
My setup looks a bit like this:
Strings/en-US/Resources.resw
under app.xaml.cs:
There's a helper that I often call, which does this:
When stepping through the application, I can actually see the strings under the ILocalizer, but it always returns String.Empty in the end.
The app is unpackaged, and I'm not sure if this is enough information so please lmk if you need more.
The text was updated successfully, but these errors were encountered: