Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to localize the display name of an app for the Windows Store?

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.

like image 498
Benny Neugebauer Avatar asked Oct 06 '12 10:10

Benny Neugebauer


People also ask

How do I find the location of a Microsoft app?

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.

What is the name of the Windows app store?

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.

How do I rename apps in edge?

Right-click the application and choose Rename. Enter the new name and press Enter, or click outside of the box to cancel.


2 Answers

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).

like image 188
Benny Neugebauer Avatar answered Sep 23 '22 01:09

Benny Neugebauer


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

like image 26
PingZing Avatar answered Sep 24 '22 01:09

PingZing