I have been trying to localise my stings by putting them int a resw file, but I cannot work out how to access them.
I am following the example as per “Localize strings in your UI and app package manifest” from: https://learn.microsoft.com/en-us/windows/uwp/app-resources/localize-strings-ui-manifest
I am trying to set up multiple language paths as per the section “Factoring strings into multiple Resources Files” and have created a folder structure thus:
Of note here is the “Strings” folder with the en-GB and the About.resw file. My resw file is:
As per the example given, I should be able to use commands similar to:
auto resourceLoader = Windows::ApplicationModel::Resources::ResourceLoader::GetForCurrentView("ErrorMessages");
this->myXAMLTextBlockElement->Text = resourceLoader->GetString("MismatchedPasswords");
So I replace “ErrorMessages” with “About” and “MismatchedPasswords” with “EULA” and I get this error…
I have looked all over, including various examples from stackoverflow, but I am obviously missing something. Any help would be appreciated!