I registered a German and an English name for my Windows 8 app in the Windows Store Dashboard.
Afterwards I created two files in my solution:
Strings/de/Resources.resw with name "AppName" and value "German Title"
Strings/en/Resources.resw with name "AppName" and value "English Title"
Then I clicked on Edit App Manifest. In the display name field I entered "ms-resource:/AppName" but when I want to build my app I get an error which says that "NamedResource" cannot be found.
What am I doing wrong?
The documentation only writes: "Display Name: Specifies the friendly name for the app that is displayed to users. This string is localizable". But I have only one field (called Display name) in my app manifest to indicate my app name.
Viewing the location of programs and apps downloaded from the Microsoft Store. Programs and apps downloaded from the Microsoft Store are installed in the following path by default: C:/Program Files/WindowsApps (Hidden items). To check hidden items, open This PC, click View and select Hidden items.
Microsoft Store has nearly everything you could want for your Windows device, including the latest games, popular movies and TV shows, creativity software, apps,1 and more.
Right-click the application and choose Rename. Enter the new name and press Enter, or click outside of the box to cancel.
Ok. I've found it! For the "Display name" in "Package.appxmanifest" I have to enter "ms-resource:AppName". One should also enter "ms-resource:AppName" for the "Package display name" field (in tab Packaging).
I'd like to add an addendum to Benny Neugebauer's answer. If your .resw file happens to be stored in another assembly (as mine was), you might have to give it the fully qualified path to your resource name.
For example, if your AppName string was in a project named OtherProject
, and a file named AppResources
, and had a key of AppName
, you would use the following syntax:
ms-resource:OtherProject/AppResources/AppName
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With