Windows Store App - Globalization
Upcoming SlideShare
Loading in...5
×
 

Windows Store App - Globalization

on

  • 214 views

Windows Store App - Globalization

Windows Store App - Globalization

Statistics

Views

Total Views
214
Views on SlideShare
214
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft Word

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Windows Store App - Globalization Windows Store App - Globalization Document Transcript

  • 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
  • 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.
  • 5) Test the application by toggling the system language preferences from control panel.