HTML and CSS Reference
Be ready for localization
Having the application ready for international markets may be a key to your success (or it might be
just for your own enjoyment if you're approaching Windows 8 development with a light spirit).
In general, localization is an important factor for applications published to a public store, as is the
case with Windows 8 applications.
Thankfully, in Windows 8 development, you get significant support from the WinJs library. At the end
of the day, all you need to do is mark any elements whose content you want localized with a special
attribute. Next, you need only add a localized resource file to the application for each language you
intend to support.
The Windows 8 runtime will take care of automatically selecting the right content from the right
resource file according to the currently set locale.
Note If you are at all familiar with C# and general Windows development, this overall
pattern should be nothing new. It's precisely the old good pattern of Windows localization,
just adapted to the new Windows 8 API.
unbiased by Windows 8 or web slants (to the extent that's possible). You reviewed the basics of the
language and outlined a few common-sense patterns for effective development.
Quite honestly, this chapter, as well as the preceding two chapters on HTML and CSS, can only
serve the purpose of refreshing or perhaps clarifying some existing knowledge of the subjects. HTML,
In case you feel you need a more speciic resource, seek out the following Microsoft Press topics.
For rank beginners:
Start Here!™ Learn HTML5 by Faithe Wempen (Microsoft Press, 2012)
For those with some experience, or as a more in-depth follow-up to the previous topics:
HTML5 Step by Step by Faithe Wempen (Microsoft Press, 2011)
part, a language used in HTML pages. And HTML pages are essentially web-based resources.