10 – 12 APRIL 2005 Riyadh, Saudi Arabia. Building multi-lingual ASP.Net application that handle western languages and Arabic with a single code base.

Slides:



Advertisements
Similar presentations
Master Pages, User Controls, Site Maps, Localization Svetlin Nakov Telerik Corporation
Advertisements

Java Script Session1 INTRODUCTION.
Building Localized Applications with Microsoft.NET Framework and Visual Studio.NET Achim Ruopp International Program Manager Microsoft Corp.
Web Forms and ASP.NET Programming Right from the Start with Visual Basic.NET 1/e 12.
The Web Warrior Guide to Web Design Technologies
11 ASP.NET Slides based off:. 22 B ACKGROUND - W EB A RCHITECTURE Web Server PC/Mac/Unix/... + Browser Client Server Request:
DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
1 Chapter 12 Working With Access 2000 on the Internet.
Managing Employee Earnings Statements: PAYSTUB 3.0 A centralized, intranet-based application used to view employee earnings statements online Published:
Chapter 11 ASP.NET JavaScript, Third Edition. 2 Objectives Learn about client/server architecture Study server-side scripting Create ASP.NET applications.
1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
1 Chapter 20 — Creating Web Projects Microsoft Visual Basic.NET, Introduction to Programming.
Creating Multi-lingual Applications and Websites with Microsoft Visual Studio 2005 Achim Ruopp International Program Manager Microsoft Corporation.
Windows Forms in Visual Studio 2005: An Overview Saurabh Pant Program Manager Microsoft Corporation.
Tutorial 1: Getting Started with HTML5
Microsoft Visual Basic 2010: Reloaded Fourth Edition Chapter One An Introduction to Visual Basic 2010.
Introduction to.Net and ASP.Net Course Introduction Build Your Own ASP.Net Website: Chapter 1 Microsoft ASP.Net Walkthrough: Creating a Basic Web Forms.
Tutorial: Introduction to ASP.NET Internet Technologies and Web Application 4 th February 2010.
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.

Dr. Azeddine Chikh IS444: Modern tools for applications development.
Microsoft Visual Basic 2005: Reloaded Second Edition
Developing Workflows with SharePoint Designer David Coe Application Development Consultant Microsoft Corporation.
WEB326 ASP.NET 2.0: Going Global Gets Easier! New Localization Features in ASP.NET 2.0 Michele Leroux Bustamante Architect, IDesign Microsoft Regional.
CNIT 133 Interactive Web Pags – JavaScript and AJAX JavaScript Environment.
Publishing a Macromedia Flash Movie – Lesson 131 Publishing a Macromedia Flash Movie Lesson 13.
E-Commerce: Introduction to Web Development 1 Dr. Lawrence West, Management Dept., University of Central Florida Topics What is a Web.
Web Programming: Client/Server Applications Server sends the web pages to the client. –built into Visual Studio for development purposes Client displays.
Tutorial 121 Creating a New Web Forms Page You will find that creating Web Forms is similar to creating traditional Windows applications in Visual Basic.
Introduction to ASP.NET 1www.tech.findforinfo.com.
11 Web Services. 22 Objectives You will be able to Say what a web service is. Write and deploy a simple web service. Test a simple web service. Write.
Tutorial 111 The Visual Studio.NET Environment The major differences between Visual Basic 6.0 and Visual Basic.NET are the latter’s support for true object-oriented.
ASP.NET.. ASP.NET Environment ASP.NET is Microsoft's programming framework that enables the development of Web applications and services. It is an easy.
Globalization Support in Microsoft.NET Framework François Liger Program Manager Microsoft Corporation.
DEV382 Building International Applications with the.NET Framework Christian Nagel Microsoft Regional Director Global Knowledge.
DEV337 Modeling Distributed Enterprise Applications Using UML in Visual Studio.NET David Keogh Program Manager Visual Studio Enterprise Tools.
Introducing ASP.NET 2.0. Internet Technologies WWW Architecture Web Server Client Server Request Response Network HTTP TCP/IP PC/Mac/Unix + Browser (IE,
Database Handling, Sessions, and AJAX. Post Back ASP.NET Functionality The IsPostBack method in ASP.NET is similar to the BlackBerry.refresh method –IsPostBack.
Chapter Two Creating a First Project in Visual Basic.
Microsoft Dynamics NAV 2009 and Architecture Overview Name Title Microsoft Corporation.
Internationalization in ASP.NET 2.0. SQL Server 2005 – Data Columns Use Unicode datatypes in: Table columns, CONVERT() and CAST() operations Use Unicode.
DEV303 ASP.NET: Leveraging Visual Studio.NET For Web Projects Tony Goodhew Product Manager Microsoft Corp.
Internet & World Wide Web How to Program, 5/e © by Pearson Education, Inc. All Rights Reserved.
Web Services Error Handling and Debugging. Agenda Simple SOAP faults Advanced SOAP faults SOAP headers and faults Error handling From a Service Perspective.
1 of 3 Microsoft ® Office Communicator 2007 can help you perform a wide range of tasks including secure Instant Messaging (IM). With its rich collaboration.
Microsoft Visual Basic 2008: Reloaded Third Edition Chapter One An Introduction to Visual Basic 2008.
Configuring and Deploying Web Applications Lesson 7.
IIS Manager Details Delegated Administration Configuration System.
Building Custom Controls with ASP.NET and the Microsoft ®.NET Framework Rames Gantanant Microsoft Regional Director, Thailand
Personalizing Web Sites Nasrullah. Understanding Profile The ASP.NET application service that enables you to store and retrieve information about users.
The 2007 Microsoft Office System Servers Enterprise Content Management, Workflow and Forms Martin Parry Developer and Platform Group, Microsoft Ltd
Entity Framework Database Connection with ASP Notes from started/getting-started-with-ef-using-mvc/creating-an-
Developer Exam Preparation Thom Robbins Bryan Soltis
Microsoft Expression Web - Illustrated Unit A: Getting Started With Microsoft Expression Web.
1 Introducing Web Developer Tools Rapid application development tools ASP.NET-compatible web editors –Visual Studio.NET Professional Edition –Visual Studio.
ASP.NET 2.0 Mohammed Abdelhadi Developer.NET Evangelist Microsoft Corporation.
Chapter 1 Getting Started with ASP.NET Objectives Why ASP? To get familiar with our IDE (Integrated Development Environment ), Visual Studio. Understand.
Office 365 Development July 2014.
ASP.NET Forms.
Metropolia 2013 C# programming and .NET framework
Globalization support in ASP.NET
Office 365 Development July 2014.
Jon Flanders Senior Consultant MCW Technologies
Reaching more customers with accessible Metro style apps using HTML5
Reach a worldwide audience by building a world-ready app
Visual Studio 2010 SharePoint Development Tools Overview
Microsoft Dynamics.
Mark Quirk Head of Technology Developer & Platform Group
Security - Forms Authentication
Presentation transcript:

10 – 12 APRIL 2005 Riyadh, Saudi Arabia

Building multi-lingual ASP.Net application that handle western languages and Arabic with a single code base. Abdellatif Tarhine Microsoft Regional Director for North Africa

Agenda Internationalizing Your Application What's New in APS.NET 2.0 Culture-sensitive Formatting Localization Resource Expressions Local and Global Resources Implicit Expressions to Local Resources Explicit Expressions to Local Resources Programmatic Access to Global Resources Localizing Static Content Storing Language Preferences

ASP.NET 2.0 Localization Features More tools built in to the Microsoft Visual Studio.NET 2005 environment. New runtime capabilities. Rich new programming API specifically targeting localization requirements.

Specifying Cultures How do you specify a culture? there is an Internet standard called RFC 1766 that specifies codes for cultures ar-SA—Arabic - Saudi Arabia en-GB—English—United Kingdom en-US—English—United States fr-FR—French - France zh-CN—Chinese - China the first part (lower case) specifies the language, and the second part (upper case) specifies a country or region

CurrentUICulture & CurrentCulture CurrentUICulture—specifies the culture for the user interface and is used for resource file lookups. CurrentCulture—specifies the culture for data and information. It is used to format dates, numbers, currencies and sort strings

how these settings work?

What's New in APS.NET 2.0 Auto Detection of Browser Language Declarative Localization Expressions Generating Local Resources

Culture-sensitive Formatting Setting a Preferred Language in Internet Explorer Auto-detecting the browser language for culture- sensitive formatting

Localization Resource Expressions There are two forms of resource expressions, explicit and implicit: Explicit Implicit

Localization Explicit Expressions to Local Resources Explicit localization expressions provide a way to declaratively assign specific resource entries to server control properties and other HTML elements ' PostBackUrl=" meta:resourcekey="ImageButtonResource1" />

Localization Explicit Expressions to Local Resources Developers can create explicit expressions through the Properties window just as they would set other control properties

Localization Implicit Expressions to Local Resources The default behavior is for an implicit localization expression to be added to server controls, indicated by the parse-time attribute meta:resourcekey. Change Culture Settings

Localization Local and Global Resources Global resources: Reside in a specialized folder called /App_GlobalResources at the root of the application Local resources: defined in a peer-level /App_LocalResources folder

Localization Generating Local Resources ASP.NET 2.0 provides a simple way to automatically generate resources for Web pages Generate Local Resource from the Tools menu in Visual Studio 2005 Web Forms, user controls, and master pages can all be internationalized from within Visual Studio.NET 2.0. This particular view shows default resources generated for several pages.

Localization Localizing HTML Elements HTML Controls cannot participate in the benefits of implicit or explicit expressions unless they are run on the server (runat="server"). In fact the HTML page title element is special because it is also a Page property that can be set through directive. explicit expression that draws the value from shared resources instead of local resources ' %>

Localization Directional Attributes To control the directionality of the browser's scrollbars and set the overall directionality of the site, this explicit expression pulls correct value from shared resources, and uses a designer default, "LTR": ' >...

Localization Static Text A new ASP.NET Localize control is provided to mark static content as localizable Welcome! '>Welcome!

Localization Resource Localization and Deployment New declarative statements, automatic generation of page resources, and the presence of strongly-typed shared resources collectively make it much easier for developers to prepare Web applications for localization

Localization Preferred Culture Selection ASP.NET 2.0 introduces a new feature to automate culture selection at runtime based on Web browser preferences. directive, which also supports culture and UI culture settings, can be used to indicate that a particular page should be run based on the browser preferences:

Localization Preferred Culture Selection The web.config file for the application can also apply this setting for the entire application The colon after auto allows you to specify a default culture if the event HTTP headers are not available. Since culture must be set to a specific culture, the example above shows en-US as the culture.

© 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.