Download presentation
Presentation is loading. Please wait.
Published byAdele Stafford Modified over 9 years ago
2
Dina Lasheen Program Manager http://blogs.msdn.com/vsarabic/ Microsoft Yasser Makram Independent Consultant http://www.silverlightrecipes.com Session Code: WEB 205
3
Agenda Introduction to Arabic Development What’s new in WPF Arabic support: WPF support in the IDE New GridView, Calendar and data binding features Silverlight 4 Arabic Support Silverlight as a Rich UX Platform Basic Arabic Support in Silverlight Advanced Arabic Support in Silverlight Additional Arabic resources: Arabic CLIP Arabic Numeric conversion module Future Plans
4
Introduction - Overview of Region More than 20 Arabic speaking countries… each have there own cultures, but share a common language. A population of more than 320 million people.
5
Arabic is a complex scripts Arabic is a complex script. Bidirectional (Bidi): Since letters are rendered rtl, while numbers are ltr. Mixed Arabic and English scripts are also a common scenario. Character shaping: Characters can be displayed in up to 4 shapes, depending on their location in the string (First, last, middle and isolated forms). Ligatures: two or more characters can occupy a single space Diacritics, zero width characters that appear on top or bottom of characters to show the sound of letters. Digit substitution – most Arabic locales use Indic digits, instead of 1,2,3..etc
6
Arabic a complex script يبرع 3210عـــــربــــي ع رب ي
7
Visual Studio Improvement WPF support in the IDE Start page Additional features WPF simply uses the value of the FlowDirection property to decide if a control needs to be mirrored. Therefore, if the FlowDirection property is set to RightToLeft, the controls are rendered RTL correctly: Reading Order is set to RTL Element Aligned to the right UI elements flow from right-to-left. For example, first button on the right the next is on it’s left …etc.
8
Business Clients in WPF Arabic support You can build realistic business apps more efficiently in WPF in.NET 4.0 with Visual Studio 2010 Tools help you with Scaffolding and Customization Tools help you apply great styles for better looking apps New business controls help you with productivity and customization
9
Business Clients in Arabic WPF applications
10
Silverlight is a Platform for Building Great User Experience Beautiful Usable Secure Feature Rich High Performance Cross Platform Localizable
11
Challenges in Building Global Applications that Supports Arabic - 1 Basic Arabic Text Rendering Character Ordering Mixed Text Shaping Ligatures Tashkeel Arabic-Indic Numbers
12
Basic Arabic Text in Silverlight 4
13
Basic Arabic Text in Silverlight 4 on Mac
14
Challenges in Building Global Applications that Supports Arabic - 2 Text Localization Bidirectional Layout Culture Detection Controls Basic Controls Calendar Rich Text Input Charts DataGrid DataForm
15
Using Resource Files to Localize Applications
16
Using VSM to Transition Between Locales
17
Silverlight Toolkit Demo with Arabic Support
18
Additional Arabic Initiatives Visual Studio 2008 Arabic CLIP Visual Studio International Feature Pack V. 2 Numeric conversion module Future Plans
19
Demo
20
What is a CLIP? Microsoft Captions Language Interface Pack (CLIP) Microsoft CLIP (or Microsoft Captions Language Interface Pack) is a language solution that uses tooltips or a window to display translation. Tooltip display- CLIP Window CLIP works with any application Show translations in the Tooltip and/or the CLIP Window Introduced by the Office team to offer translation to languages that we couldn’t ship a translated version.
21
Arabic Visual Studio CLIP For the first-time Arabic CLIP It’s a community driven effort, with the help of university in Saudi Arabia. More than 13,000+ terms, 40,000 words translated to Arabic – based on the terms from the Express editions of Visual Studio 2008 Planning a next release for Visual Studio 2010, and hopeful for a full language pack in the future. Available at: http://www.microsoft.com/down loads/details.aspx?FamilyID=4 e5258d2-52f4-46b8-8b74- da2dbec7c2f7&displaylang=ar
22
Demo
23
Visual Studio International Feature Pack V. 2 This is a second release of a library created for East Asian countries. New Feature for Arabic customers: New numeric conversion module to convert the numbers to Arabic words. Support Visual Studio 2005 or higher http://www.microsoft.com/downloads/details.aspx?Family ID=7d1df9ce-4aee-467f-996e- bec826c5daa2&displaylang=ar
24
Visual Studio International Feature Pack V. 2 1) I created a simple WinForm application. 2) Add Reference to “InternationNumericFormatter.dll” library. 3) In the WinForm designer: a. Add a TextBox1: to accept the user numbers. b. Add a Label1: to display the output of the numeric conversion module. 4) Add an event to handle the TextBox1.TextChanged.. and double click to go the code view 5) In the code: using Microsoft.International.Formatters; using System.Globalization; private void textBox1_TextChanged(object sender, EventArgs e) { Double Value; if (Double.TryParse(textBox1.Text, out Value)) { if (Value <= 9999999999999999999) label1.Text = InternationalNumericFormatter.FormatWithCulture( "L", Value, null, new CultureInfo("ar")); else label1.Text = "The number is out of range"; } else label1.Text = ""; }
25
Visual Studio International Feature Pack V. 2 – Arabic numeric conversion module
26
Future Plans New Version of Arabic CLIP for Visual Studio 2010 Arabic MSDN Wiki for a subset of the Visual Studio documentation. Available online to be customized by the community
28
www.microsoft.com/teched Sessions On-Demand & Community http://microsoft.com/technet Resources for IT Professionals http://microsoft.com/msdn Resources for Developers www.microsoft.com/learning Microsoft Certification & Training Resources Resources Required Slide Speakers, TechEd 2010 is not producing a DVD. Please announce that attendees can access session recordings at TechEd Online. Required Slide Speakers, TechEd 2010 is not producing a DVD. Please announce that attendees can access session recordings at TechEd Online.
29
Track Resources Resource 1 Resource 2 Resource 3 Resource 4 Required Slide Track PMs will supply the content for this slide, which will be inserted during the final scrub. Required Slide Track PMs will supply the content for this slide, which will be inserted during the final scrub.
30
Complete an evaluation on CommNet and enter to win an HTC HD2! Required Slide
31
© 2010 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. Required Slide
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.