22

Windows.Globalization Windows.Globalization.ApplicationLanguages Windows.Globalization.Calendar Windows.Globalization.CalendarIdentifiers

Embed Size (px)

Citation preview

Jan Nelson, Sr. Program Manager LeadCameron Lerum, Sr. Program Manager Windows World-Readiness2-058

Creating world-ready apps

Global market opportunityWorld-ready app demo GlobalizationTranslation

Agenda

Global market opportunity

Windows Store• Publish your apps in over 230 markets• Local currency support in over 64 markets • Translate your apps into more than 106

languages

Markets within markets• 316 million people in the USA, 35 million prefer

to speak Spanish at home**http://www.census.gov/hhes/socdemo/language/data/acs/ACS-12.pdf

Designing for a global market

• Content in my language• Data formatted correctly for my culture (dates,

times currency, etc.)• Text input just works

Customer’s view: experiences relevant to me

Designing for a global market

Developer’s view: cost-effective app creation

• Code base identical across all languages• Separate the code from any UI text that must be

translated• Support linguistic and cultural needs of all users

Create a new appAdd localizable resourcesAdd the resources to your XAMLAdd language-specific resourcesSet language preferences and test

World-ready app demo

Integrates with Visual Studio’s IDEPseudo language for ‘in house’ testingMicrosoft Translator Service-based translationsExport & import for translatorsDedicated translation editor

Multilingual App Toolkit

Windows globalization namespaces & classesWindows.Globalization• Windows.Globalization.ApplicationLanguages• Windows.Globalization.Calendar• Windows.Globalization.CalendarIdentifiers• Windows.Globalization.ClockIdentifiers• Windows.Globalization.GeographicRegion• Windows.Globalization.Language

Windows.Globalization.Collation• Windows.Globalization.Collation.CharacterGrouping• Windows.Globalization.Collation.CharacterGrouping

s

Windows.Globalization.DateTimeFormatting• Windows.Globalization.DateTimeFormatting.DateTimeFo

rmatter

Windows.Globalization.Fonts• Windows.Globalization.Fonts.LanguageFont• Windows.Globalization.Fonts.LanguageFontGroup

Windows.Globalization.NumberFormatting• Windows.Globalization.NumberFormatting.CurrencyForm

atter• Windows.Globalization.NumberFormatting.DecimalForm

atter• Windows.Globalization.NumberFormatting.PercentForma

tter• Windows.Globalization.NumberFormatting.PermilleForm

atter

Globalization APIs

Windows.Globalization.Calendar• GetTimeZone()• ChangeTimeZone()• TimeZoneAsString()• IsDaylightSavingTime()

Windows.Globalization.DateTimeFormatting• Format(DateTime.Now, "America/Guatemala“)

CalendarTime zonesTranslation model extensibility

A World-Ready Meeting Request App Demo

Microsoft language assets

Terminology: lookup & downloads

UI Translations: Microsoft products via MSDN and Technet

Style Guides: Collections of rules that define language and style conventions

Leverage existing translations

Recycling cross-platform demo

Resource packs

The new resource-pack model allows you to deploy only the resources your customer needs—in the right language for them, or at the right scale factor for their specific devices—instead of delivering all your resources to every user, which saves footprint for all customers When you add a new language, don’t update code or even the version number. Changing code or version number forces an update to all users irrespective of their language preference settings.

The Store provides language updates automatically to your users based on their selected language preferences, which saves bandwidth and footprint.

Key takeaways

Global market opportunityLocalizable by designNew and enhanced globalization APIsMultilingual App ToolkitResource packs

 Free offer from MSPRESS for all //BUILD attendees

You simply need to click on the ebook version to “buy” and enter the coupon code for it to be 100% discounted http://oreilly.com/go/ms-manual-of-styleCode: BUILDStart date:  2013-06-24End date:  2013-06-29100% discount on the ebook

Resources

Resources

• 2-095 – John Sheehan – First launch performance• 2-9061 – Jason Salameh – Reducing your app’s disk footprint• Microsoft Language Portal• MSDN UI String Glossary (subscription based)• Globalization APIs• Windows Store apps downloads• IANA Time zone Standard• Application resources and localization sample

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Evaluate this session

Scan this QR code to evaluate this session and be automatically entered in a drawing to win a prize!

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.