SlideShare a Scribd company logo
WinRT Apps
29 April 2014
Building Apps for Windows Phone 8.1 Jump Start
08   localization and globalization in windows runtime apps
08   localization and globalization in windows runtime apps
08   localization and globalization in windows runtime apps
Afrikaans
Basque (Basque)
Galician
Hausa
26 new languages were added with Windows Phone 8
50 languages supported in4 new languages added in
See Details Here:
http://blogs.windows.com/windows_phone/b/wpdev/archive/2013/06/21/tips-for-localizing-and-monetizing-your-app-for-windows-phone-users.aspx
Top primary user languages for all app downloaded (Jan-Jun 2013)
Offering your app in English only covers only 25% of Windows Phone users. Adding Mandarin and Spanish
increases coverage to ~60%, and adding Russian, Italian, Portuguese (Brazil), and French covers the large
majority of all Windows Phone users.
See Details Here:
http://blogs.windows.com/windows_phone/b/wpdev/archive/2013/06/21/tips-for-localizing-and-monetizing-your-app-for-windows-phone-users.aspx
Number of app downloads per market, Jan-Jun 2013
08   localization and globalization in windows runtime apps
Add multiple languages to phone
All 54 supported UI languages to be pre-installed on most phones
Enable multiple languages and sort them by order of preference
Languages will be listed by locale, enabling Region format to
automatically match phone language
Add languages which are not currently supported for UI, to be used
for apps and services which support that language
Continue to auto-download language packs, containing text
prediction and speech files, to align with selected languages
08   localization and globalization in windows runtime apps
08   localization and globalization in windows runtime apps
08   localization and globalization in windows runtime apps
<TextBlock x:Uid="Greeting" Text="" />
Read resource strings from code also:
Use resource strings from XAML:
var loader = new Windows.ApplicationModel.Resources.ResourceLoader();
var string = loader.GetString('Farewell');
08   localization and globalization in windows runtime apps
08   localization and globalization in windows runtime apps
Easy to use localization tool for WP SDK
Integrates with Visual Studio 2013 with Windows Phone SDK to provide Windows
Phone Store apps with translation support, translation file management, and
localization editing
Helps to verify and note changes in resources over time
Provides a UI for choosing languages
Supports the localization industry-standard XLIFF file format
Provides a pseudo-language engine to identify translation issues
at development
Connects with the Microsoft Translator for quick translation
suggestions
Quickly expand your customer base and markets with added languages
08   localization and globalization in windows runtime apps
08   localization and globalization in windows runtime apps
08   localization and globalization in windows runtime apps
08   localization and globalization in windows runtime apps
08   localization and globalization in windows runtime apps
// Use the Windows.Globalization.DateTimeFormatting.DateTimeFormatter class
// to display dates and times using basic formatters.
var sdatefmt = new Windows.Globalization.DateTimeFormatting.DateTimeFormatter("shortdate");
var stimefmt = new Windows.Globalization.DateTimeFormatting.DateTimeFormatter("shorttime");
// Obtain the date that will be formatted.
var dateToFormat = DateTime.Now;
// Perform the actual formatting.
var sdate = sdatefmt.Format(dateToFormat);
var stime = stimefmt.Format(dateToFormat);
// Results for display.
var results = "Short Date: " + sdate + "n" + "Short Time: " + stime;
Standard date and time picker controls conform to users’ selected region
To display dates or times yourself, use Date/Time and Number formatters to automatically display the user's
preferred format for dates, times and numbers
// Determine the current users default currency.
var userCurrency = Windows.System.UserProfile.GlobalizationPreferences.Currencies[0];
// Number to be formatted.
var fractionalNumber = 12345.67;
// Currency formatter using the current users preference settings for number formatting.
var userCurrencyFormat = new Windows.Globalization.NumberFormatting.CurrencyFormatter(userCurrency);
var currencyDefault = userCurrencyFormat.Format(fractionalNumber);
// Create a formatter initialized to a specific currency.
// In this case it's the Euro with the default number formatting for France.
var currencyFormatEuroFR =
new Windows.Globalization.NumberFormatting.CurrencyFormatter("EUR", new[] { "fr-FR" }, "FR");
var currencyEuroFR = currencyFormatEuroFR.Format(fractionalNumber);
// Results for display.
var results = "Fixed number (" + fractionalNumber + ")n" + "With user's default currency: " +
currencyDefault + "n" + "Formatted Euro (fr-FR defaults): " + currencyEuroFR;
Different cultures format numbers differently
Use NumberFormatting to display decimal, percent/permille numbers, currencies
Calendar
08   localization and globalization in windows runtime apps
08   localization and globalization in windows runtime apps
©2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, Office, Azure, System Center, Dynamics 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.

More Related Content

PPTX
19 programming sq lite on windows phone 8.1
PPT
Zend framework 06 - zend config, pdf, i18n, l10n, sessions
PDF
Why is flutter mobile app development mostly recommended for your business
PDF
Top Benefits of Flutter App Development Services - An Insightful Blog
PDF
Malayalam computing
PPTX
Flutter UI Framework
PDF
A Complete Guide to Building Your First App with Flutter
PDF
Flutter Development Services
19 programming sq lite on windows phone 8.1
Zend framework 06 - zend config, pdf, i18n, l10n, sessions
Why is flutter mobile app development mostly recommended for your business
Top Benefits of Flutter App Development Services - An Insightful Blog
Malayalam computing
Flutter UI Framework
A Complete Guide to Building Your First App with Flutter
Flutter Development Services

Similar to 08 localization and globalization in windows runtime apps (20)

PPTX
Cimbalino Toolkit and Multilingual App Toolkit
PPTX
Complete guide to flutter app development
PDF
Why The Future of Flutter Will Be Your Next Big Obsession.pdf
PDF
Why Use Flutter for App Development- Features and Benefits
PPTX
Windows Store apps development
PDF
Windows und Windows Phone App Entwicklung (Daniel Meixner, DWX 2014)
PDF
Flutter Optimization Techniques to Improve Existing App Results.pdf
PPTX
Mobile Development With Flash Platform
PDF
How To Build Mobile Apps With Flutter.pdf
PPT
Mobile Office For Maemo
PDF
Flutter app development
PDF
All you need to know about Flutter app development Challenges, proven strateg...
ODP
Lotus Symphony has matured quite a bit the past year, but are you taking full...
PPTX
Introducing flutter the future of cross platform
DOCX
Mastering cross platform development
PDF
How much does flutter app development cost in 2022
PDF
Flutter App Development- Why Should You Choose It .
PPTX
Windows phone7 subodh
PPTX
7 reasons why flutter might be the best choice for your next project
PDF
How has the flutter become the game changer in recent years for mobile app de...
Cimbalino Toolkit and Multilingual App Toolkit
Complete guide to flutter app development
Why The Future of Flutter Will Be Your Next Big Obsession.pdf
Why Use Flutter for App Development- Features and Benefits
Windows Store apps development
Windows und Windows Phone App Entwicklung (Daniel Meixner, DWX 2014)
Flutter Optimization Techniques to Improve Existing App Results.pdf
Mobile Development With Flash Platform
How To Build Mobile Apps With Flutter.pdf
Mobile Office For Maemo
Flutter app development
All you need to know about Flutter app development Challenges, proven strateg...
Lotus Symphony has matured quite a bit the past year, but are you taking full...
Introducing flutter the future of cross platform
Mastering cross platform development
How much does flutter app development cost in 2022
Flutter App Development- Why Should You Choose It .
Windows phone7 subodh
7 reasons why flutter might be the best choice for your next project
How has the flutter become the game changer in recent years for mobile app de...
Ad

More from WindowsPhoneRocks (20)

PPTX
23 silverlight apps on windows phone 8.1
PPTX
22 universal apps for windows
PPTX
21 app packaging, monetization and publication
PPTX
20 tooling and diagnostics
PPTX
17 camera, media, and audio in windows phone 8.1
PPTX
16 interacting with user data contacts and appointments
PPTX
15 sensors and proximity nfc and bluetooth
PPTX
14 tiles, notifications, and action center
PPTX
13 networking, mobile services, and authentication
PPTX
12 maps, geolocation, and geofencing
PPTX
11 background tasks and multitasking
PPTX
10 sharing files and data in windows phone 8
PPTX
09 data storage, backup and roaming
PPTX
07 windows runtime app lifecycle
PPTX
05 programming page controls and page transitions animations
PPTX
04 lists and lists items in windows runtime apps
PPTX
03 page navigation and data binding in windows runtime apps
PPTX
02 getting started building windows runtime apps
PPTX
01 introducing the windows phone 8.1
23 silverlight apps on windows phone 8.1
22 universal apps for windows
21 app packaging, monetization and publication
20 tooling and diagnostics
17 camera, media, and audio in windows phone 8.1
16 interacting with user data contacts and appointments
15 sensors and proximity nfc and bluetooth
14 tiles, notifications, and action center
13 networking, mobile services, and authentication
12 maps, geolocation, and geofencing
11 background tasks and multitasking
10 sharing files and data in windows phone 8
09 data storage, backup and roaming
07 windows runtime app lifecycle
05 programming page controls and page transitions animations
04 lists and lists items in windows runtime apps
03 page navigation and data binding in windows runtime apps
02 getting started building windows runtime apps
01 introducing the windows phone 8.1
Ad

Recently uploaded (20)

PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
cuic standard and advanced reporting.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
Spectroscopy.pptx food analysis technology
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Electronic commerce courselecture one. Pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Big Data Technologies - Introduction.pptx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Encapsulation_ Review paper, used for researhc scholars
MIND Revenue Release Quarter 2 2025 Press Release
cuic standard and advanced reporting.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
“AI and Expert System Decision Support & Business Intelligence Systems”
Programs and apps: productivity, graphics, security and other tools
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Building Integrated photovoltaic BIPV_UPV.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Spectroscopy.pptx food analysis technology
Unlocking AI with Model Context Protocol (MCP)
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Network Security Unit 5.pdf for BCA BBA.
Electronic commerce courselecture one. Pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx

08 localization and globalization in windows runtime apps

  • 1. WinRT Apps 29 April 2014 Building Apps for Windows Phone 8.1 Jump Start
  • 5. Afrikaans Basque (Basque) Galician Hausa 26 new languages were added with Windows Phone 8 50 languages supported in4 new languages added in
  • 6. See Details Here: http://blogs.windows.com/windows_phone/b/wpdev/archive/2013/06/21/tips-for-localizing-and-monetizing-your-app-for-windows-phone-users.aspx Top primary user languages for all app downloaded (Jan-Jun 2013) Offering your app in English only covers only 25% of Windows Phone users. Adding Mandarin and Spanish increases coverage to ~60%, and adding Russian, Italian, Portuguese (Brazil), and French covers the large majority of all Windows Phone users.
  • 9. Add multiple languages to phone All 54 supported UI languages to be pre-installed on most phones Enable multiple languages and sort them by order of preference Languages will be listed by locale, enabling Region format to automatically match phone language Add languages which are not currently supported for UI, to be used for apps and services which support that language Continue to auto-download language packs, containing text prediction and speech files, to align with selected languages
  • 13. <TextBlock x:Uid="Greeting" Text="" /> Read resource strings from code also: Use resource strings from XAML: var loader = new Windows.ApplicationModel.Resources.ResourceLoader(); var string = loader.GetString('Farewell');
  • 16. Easy to use localization tool for WP SDK Integrates with Visual Studio 2013 with Windows Phone SDK to provide Windows Phone Store apps with translation support, translation file management, and localization editing Helps to verify and note changes in resources over time Provides a UI for choosing languages Supports the localization industry-standard XLIFF file format Provides a pseudo-language engine to identify translation issues at development Connects with the Microsoft Translator for quick translation suggestions Quickly expand your customer base and markets with added languages
  • 22. // Use the Windows.Globalization.DateTimeFormatting.DateTimeFormatter class // to display dates and times using basic formatters. var sdatefmt = new Windows.Globalization.DateTimeFormatting.DateTimeFormatter("shortdate"); var stimefmt = new Windows.Globalization.DateTimeFormatting.DateTimeFormatter("shorttime"); // Obtain the date that will be formatted. var dateToFormat = DateTime.Now; // Perform the actual formatting. var sdate = sdatefmt.Format(dateToFormat); var stime = stimefmt.Format(dateToFormat); // Results for display. var results = "Short Date: " + sdate + "n" + "Short Time: " + stime; Standard date and time picker controls conform to users’ selected region To display dates or times yourself, use Date/Time and Number formatters to automatically display the user's preferred format for dates, times and numbers
  • 23. // Determine the current users default currency. var userCurrency = Windows.System.UserProfile.GlobalizationPreferences.Currencies[0]; // Number to be formatted. var fractionalNumber = 12345.67; // Currency formatter using the current users preference settings for number formatting. var userCurrencyFormat = new Windows.Globalization.NumberFormatting.CurrencyFormatter(userCurrency); var currencyDefault = userCurrencyFormat.Format(fractionalNumber); // Create a formatter initialized to a specific currency. // In this case it's the Euro with the default number formatting for France. var currencyFormatEuroFR = new Windows.Globalization.NumberFormatting.CurrencyFormatter("EUR", new[] { "fr-FR" }, "FR"); var currencyEuroFR = currencyFormatEuroFR.Format(fractionalNumber); // Results for display. var results = "Fixed number (" + fractionalNumber + ")n" + "With user's default currency: " + currencyDefault + "n" + "Formatted Euro (fr-FR defaults): " + currencyEuroFR; Different cultures format numbers differently Use NumberFormatting to display decimal, percent/permille numbers, currencies
  • 27. ©2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, Office, Azure, System Center, Dynamics 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.