Windows Store App - Globalization
1) Add Strings folder in project. In the Strings folder add folders for different langua...
Japanese Resource File

3) Now we can go to view (XAML) and hook up the button with the resource (navButton) in Resources....
5) Test the application by toggling the system language preferences from control panel.
Upcoming SlideShare
Loading in...5
×

Windows Store App - Globalization

146

Published on

Windows Store App - Globalization

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
146
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Windows Store App - Globalization"

  1. 1. Windows Store App - Globalization 1) Add Strings folder in project. In the Strings folder add folders for different language that needs to be supported by the application. In each language folder add a Resources.resw file. Refer to the image below. I have added two resource files for English and Japanese. 2) Go to each resource file and add resources for content and width property of the button in the view (XAML). Refer to the image below. English Resource File
  2. 2. Japanese Resource File 3) Now we can go to view (XAML) and hook up the button with the resource (navButton) in Resources.resw file using x:Uid attribute on the button.On doing this the button picks value for its Content and Width properties from the Resources.resw file. 4) Set the default language for the application in Package.appxmanifest.
  3. 3. 5) Test the application by toggling the system language preferences from control panel.

×