SlideShare a Scribd company logo
GUI Applications Development Using .NET Framework
Objectives


                In this session, you will learn to:
                   Implement Accessibility features in a .NET application
                   Identify features of international applications
                   Implement Globalization and Localization in a .NET application




     Ver. 1.0                        Session 8                           Slide 1 of 18
GUI Applications Development Using .NET Framework
Design Guideline for Accessible Applications


                •   Accessible applications are the applications that are
                    developed keeping in mind the specific requirement of users
                    with visual, mobility, and hearing disabilities.
                •   The applications developed in VC# can be made accessible
                    by setting certain properties of controls used in them.
                •   These applications are created with various design
                    guidelines. These guidelines are:
                       Flexibility to accommodate a variety of user needs and
                       preferences.
                       Simple interface to enable all types of users to interact with the
                       application.
                       Compatibility with accessibility aids for users with sensory
                       limitations.
                       Multiple Input and Output techniques to benefit users with
                       varying disabilities.

     Ver. 1.0                            Session 8                               Slide 2 of 18
GUI Applications Development Using .NET Framework
Standard Accessibility Properties in VC#


                To make an application accessible, some properties need to
                be set for the various controls on a form. These are:
                   AccessibleName
                   AccessibleDescription
                   AccessibleRole
                   TabIndex
                   Text
                   Font Size




     Ver. 1.0                       Session 8                      Slide 3 of 18
GUI Applications Development Using .NET Framework
Just a minute


                Which property is used to specify the use of an element in
                the user interface and reports it to the accessibility aids?
                 1. AccessibleDescription
                 2. AccessibleRole
                 3. AccessibleName




                Answer:
                 2. AccessibleRole


     Ver. 1.0                        Session 8                        Slide 4 of 18
GUI Applications Development Using .NET Framework
Identifying Features of International Applications


                • International applications are designed to be used across
                  the world.
                • International applications should be customizable according
                  to the preferences of the users across the world.
                • An application refers to a locale to identify users’
                  preferences.
                                                  The locale includes
                                                  information about formats
                                                  used for representing time
                                                  and date, symbols and
                                                  conventions used for
                                                  representing currency, and
                                                  the character encoding
                                                  scheme being used.



     Ver. 1.0                         Session 8                         Slide 5 of 18
GUI Applications Development Using .NET Framework
Identifying Features of International Applications (Contd.)


                The structure of an internationalized application is divided
                into two blocks:
                 – Code block               Contains the application
                 – Data block               code or the executable
                                            part of an application.
                                            This block will remain
                                            same for all locales.




     Ver. 1.0                       Session 8                          Slide 6 of 18
GUI Applications Development Using .NET Framework
Identifying Features of International Applications (Contd.)


                The structure of an internationalized application is divided
                into two blocks:
                 – Code block
                 – Data block               Contains all the resources, such as
                                            text and images, used by the user
                                            interface (UI). This block is
                                            locale-specific, and each locale will
                                            have one data block.




     Ver. 1.0                       Session 8                                   Slide 7 of 18
GUI Applications Development Using .NET Framework
Identifying Features of International Applications (Contd.)


                    The process of making an application ready for international
                    customers is called internationalization. This process
                    includes three phases as shown in the following figure.




                Involves writing the     Involves testing an           Involves the
                executable code for an   application, which has        customization of an
                application in such a    been globalized to ensure     application for a
                way that makes it        that its executable code is   specific locale.
                culture-neutral and      independent of the culture
                language-neutral.        and language specific
                                         data.
     Ver. 1.0                              Session 8                              Slide 8 of 18
GUI Applications Development Using .NET Framework
Factors Related to Creating International Applications


                The issues related to internationalization of applications are:
                   Language issues
                   Formatting issues
                   String-related issues
                   User-interface issues




     Ver. 1.0                       Session 8                          Slide 9 of 18
GUI Applications Development Using .NET Framework
Creating International Applications


                To create international applications, implement the
                following:
                   Work with multiple culture codes
                   Culture-specific formatting
                   Character encoding
                   Right-to-left display
                   Validate non-Latin user input
                   Culture-specific classes and methods




     Ver. 1.0                       Session 8                         Slide 10 of 18
GUI Applications Development Using .NET Framework
Just a minute


                • Which property of the CultureInfo class will return an
                  instance of the CultureInfo class that represents the
                  culture for culture-specific resources?




                  Answer:
                      CurrentUICulture


     Ver. 1.0                            Session 8                  Slide 11 of 18
GUI Applications Development Using .NET Framework
Globalizing Windows Forms


                Globalization is the process of identifying all localizable
                resources in the application and separating them from the
                executable code so that the localizable resources can be
                modified easily.
                Let us understand how we can create such applications.




     Ver. 1.0                       Session 8                        Slide 12 of 18
GUI Applications Development Using .NET Framework
Localizing Windows Forms


                Localization is the process of customizing an application for
                a given culture.
                Localization consists primarily of translating the user
                interface.
                A form can be localized by setting its Localizable property to
                True.
                Let us understand how can we create such applications.




     Ver. 1.0                       Session 8                         Slide 13 of 18
GUI Applications Development Using .NET Framework
Application Resources


                A resource is any non-executable data that is logically
                deployed with the application.
                Packaging the localizable data in a resource file allows to
                change the data without recompiling the entire application.
                Information is stored in a resource file in the Key/Value
                format.
                Consider the following code snippet:                    Key
                       WelcomeText = “Welcome to VC#”                   Value




     Ver. 1.0                       Session 8                          Slide 14 of 18
GUI Applications Development Using .NET Framework
Resource Assemblies


                Resource assemblies are assemblies that contain only
                resources.
                Advantage of resource assemblies:
                   The assembly can be updated as and when required without
                   having to recompile the application.
                Satellite assemblies are resource assemblies that include
                separate resources for different cultures.




     Ver. 1.0                      Session 8                         Slide 15 of 18
GUI Applications Development Using .NET Framework
Just a minute


                Which command prompt utility is used to convert a resource
                file from the text format into the binary format?




                Answer:
                   Resource File Generator (ResGen.exe) Utility


     Ver. 1.0                       Session 8                     Slide 16 of 18
GUI Applications Development Using .NET Framework
Summary


               In this session, you learned that:
                  Applications need to be made accessible so that they can be
                  used by a wide range of audience, including those with special
                  needs.
                  You need to follow a set of guidelines for developing
                  accessible applications.
                  The .NET Framework provides support for the development of
                  world-ready applications. It helps you create applications that
                  adapt to various languages, currency formats, date/time
                  formats, and other culture-specific information.
                  When developing a world-ready application, the process
                  should be divided into three phases: globalization, localizability,
                  and localization.
                  While globalizing an application, you should strive to code the
                  application in such a way that allows it to work equally well for
                  all cultures your application supports.

    Ver. 1.0                         Session 8                              Slide 17 of 18
GUI Applications Development Using .NET Framework
Summary (Contd.)


               During the localizability phase, you test whether the
               application's executable code has been properly separated
               from its resources.
               During localization an application is customized for specific
               cultures or regions.
               A resource is any non-executable data that is logically
               deployed with an application.




    Ver. 1.0                     Session 8                             Slide 18 of 18

More Related Content

PDF
Android unveiled (I)
PPT
2011 android
PPT
Mobile Application Development JEDI
PDF
Octopod Mobile Development Platform for rapid cross-platform Enterprise IT Mo...
PDF
Meego의 현재와 미래(2)
PDF
[Whitepaper] an overview of ibm mobile first platform
PDF
IRJET - Survey Paper on Tools Used to Enhance User's Experience with Cons...
PPS
Vb.net session 11
Android unveiled (I)
2011 android
Mobile Application Development JEDI
Octopod Mobile Development Platform for rapid cross-platform Enterprise IT Mo...
Meego의 현재와 미래(2)
[Whitepaper] an overview of ibm mobile first platform
IRJET - Survey Paper on Tools Used to Enhance User's Experience with Cons...
Vb.net session 11

What's hot (20)

PDF
Android : Revolutionizing Mobile Devices
PPTX
Getting started with android
PPT
SynapseIndia mobile build apps management
PDF
Meego Italian Day 2011 – Andrea Grandi
PDF
An Overview of Blackberry 10 & Blackberry App Development
KEY
Intel Developer Day 2010, Berlin
PPTX
PDF
Mobile development
PDF
Speed delivery of Android devices and applications with model-driven development
PDF
Integration of OSGi and User Friendly UI Application - Akira Moriguchi
PDF
Android Internals
PDF
IBM Worklight Whitepaper
PDF
실전 윈도우폰 망고 앱 디자인 & 개발 III(최종)
PPTX
Android summer training report
PPTX
Android introduction
PDF
PPT
How to Customize the MeeGo Tablet UX
PPTX
Metro Style Apps - Whats there for Developers
PDF
Windows Phone 7.5 와 Windows 8 메트로 스타일 앱 개발
DOCX
Bhavin_Resume
Android : Revolutionizing Mobile Devices
Getting started with android
SynapseIndia mobile build apps management
Meego Italian Day 2011 – Andrea Grandi
An Overview of Blackberry 10 & Blackberry App Development
Intel Developer Day 2010, Berlin
Mobile development
Speed delivery of Android devices and applications with model-driven development
Integration of OSGi and User Friendly UI Application - Akira Moriguchi
Android Internals
IBM Worklight Whitepaper
실전 윈도우폰 망고 앱 디자인 & 개발 III(최종)
Android summer training report
Android introduction
How to Customize the MeeGo Tablet UX
Metro Style Apps - Whats there for Developers
Windows Phone 7.5 와 Windows 8 메트로 스타일 앱 개발
Bhavin_Resume
Ad

Viewers also liked (20)

PPT
PPSX
Gui application development guidelines
PDF
UI Automation_White_CodedUI common problems and tricks
PPTX
c# usage,applications and advantages
PPT
c#.Net Windows application
PPTX
PDF
Object-oriented Programming-with C#
PPT
Graphical User Interface (GUI) - 2
PPTX
Chapter 4 — Variables and Arithmetic Operations
PPTX
Chapter 3 — Program Design and Coding
PPTX
Graphical User Interface
PPTX
Graphical User Interface
PPT
C#.NET
PPTX
Advanced Coded UI Testing
PPTX
Chapter 1 — Introduction to Visual Basic 2010 Programming
PPT
Graphical User Interface (GUI) - 1
PPTX
Chapter 2 — Program and Graphical User Interface Design
PPTX
Visual Basic Controls ppt
PPTX
Presentation on visual basic 6 (vb6)
PPTX
C# Tutorial
Gui application development guidelines
UI Automation_White_CodedUI common problems and tricks
c# usage,applications and advantages
c#.Net Windows application
Object-oriented Programming-with C#
Graphical User Interface (GUI) - 2
Chapter 4 — Variables and Arithmetic Operations
Chapter 3 — Program Design and Coding
Graphical User Interface
Graphical User Interface
C#.NET
Advanced Coded UI Testing
Chapter 1 — Introduction to Visual Basic 2010 Programming
Graphical User Interface (GUI) - 1
Chapter 2 — Program and Graphical User Interface Design
Visual Basic Controls ppt
Presentation on visual basic 6 (vb6)
C# Tutorial
Ad

Similar to 06 gui 08 (20)

PPS
01 gui 01
DOCX
unit 4.docx
PPT
Microsoft .NET Development Platform Internationalization
PPS
08 gui 11
PPTX
Windows 8 DevUnleashed - Session 1
PPTX
How to Build Composite Applications with PRISM
PPS
Vp all slides
PPTX
Insight into Application Design & Oracle Fusion
PDF
Tell me more about that? Gathering User Requirements and Context of Use for G...
PPT
06 win forms
PDF
Modelling the User Interface
PPS
11 asp.net session16
PPS
10 gui 14
PPT
Localization framework
ODP
Synapse india reviews on gui programming in .net
PPS
02 gui 02
PPTX
Learn the java basic programming with example and syntaxchapter1-part-b.pptx
PPS
User centered design process
PDF
Internationalization (i18n) and Localization (l10n) - Partners in Successful ...
PPTX
Chapter1 of programming object orienteds
01 gui 01
unit 4.docx
Microsoft .NET Development Platform Internationalization
08 gui 11
Windows 8 DevUnleashed - Session 1
How to Build Composite Applications with PRISM
Vp all slides
Insight into Application Design & Oracle Fusion
Tell me more about that? Gathering User Requirements and Context of Use for G...
06 win forms
Modelling the User Interface
11 asp.net session16
10 gui 14
Localization framework
Synapse india reviews on gui programming in .net
02 gui 02
Learn the java basic programming with example and syntaxchapter1-part-b.pptx
User centered design process
Internationalization (i18n) and Localization (l10n) - Partners in Successful ...
Chapter1 of programming object orienteds

More from Niit Care (20)

PPS
Ajs 1 b
PPS
Ajs 4 b
PPS
Ajs 4 a
PPS
Ajs 4 c
PPS
Ajs 3 b
PPS
Ajs 3 a
PPS
Ajs 3 c
PPS
Ajs 2 b
PPS
Ajs 2 a
PPS
Ajs 2 c
PPS
Ajs 1 a
PPS
Ajs 1 c
PPS
Dacj 4 2-c
PPS
Dacj 4 2-b
PPS
Dacj 4 2-a
PPS
Dacj 4 1-c
PPS
Dacj 4 1-b
PPS
Dacj 4 1-a
PPS
Dacj 1-2 b
PPS
Dacj 1-3 c
Ajs 1 b
Ajs 4 b
Ajs 4 a
Ajs 4 c
Ajs 3 b
Ajs 3 a
Ajs 3 c
Ajs 2 b
Ajs 2 a
Ajs 2 c
Ajs 1 a
Ajs 1 c
Dacj 4 2-c
Dacj 4 2-b
Dacj 4 2-a
Dacj 4 1-c
Dacj 4 1-b
Dacj 4 1-a
Dacj 1-2 b
Dacj 1-3 c

Recently uploaded (20)

PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Getting Started with Data Integration: FME Form 101
PPTX
Machine Learning_overview_presentation.pptx
PPTX
Tartificialntelligence_presentation.pptx
PPT
Teaching material agriculture food technology
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Machine learning based COVID-19 study performance prediction
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Electronic commerce courselecture one. Pdf
PDF
Empathic Computing: Creating Shared Understanding
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
1. Introduction to Computer Programming.pptx
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Getting Started with Data Integration: FME Form 101
Machine Learning_overview_presentation.pptx
Tartificialntelligence_presentation.pptx
Teaching material agriculture food technology
Assigned Numbers - 2025 - Bluetooth® Document
Machine learning based COVID-19 study performance prediction
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Unlocking AI with Model Context Protocol (MCP)
Per capita expenditure prediction using model stacking based on satellite ima...
Reach Out and Touch Someone: Haptics and Empathic Computing
Electronic commerce courselecture one. Pdf
Empathic Computing: Creating Shared Understanding
Agricultural_Statistics_at_a_Glance_2022_0.pdf
SOPHOS-XG Firewall Administrator PPT.pptx
Spectral efficient network and resource selection model in 5G networks
Building Integrated photovoltaic BIPV_UPV.pdf
1. Introduction to Computer Programming.pptx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Mobile App Security Testing_ A Comprehensive Guide.pdf

06 gui 08

  • 1. GUI Applications Development Using .NET Framework Objectives In this session, you will learn to: Implement Accessibility features in a .NET application Identify features of international applications Implement Globalization and Localization in a .NET application Ver. 1.0 Session 8 Slide 1 of 18
  • 2. GUI Applications Development Using .NET Framework Design Guideline for Accessible Applications • Accessible applications are the applications that are developed keeping in mind the specific requirement of users with visual, mobility, and hearing disabilities. • The applications developed in VC# can be made accessible by setting certain properties of controls used in them. • These applications are created with various design guidelines. These guidelines are: Flexibility to accommodate a variety of user needs and preferences. Simple interface to enable all types of users to interact with the application. Compatibility with accessibility aids for users with sensory limitations. Multiple Input and Output techniques to benefit users with varying disabilities. Ver. 1.0 Session 8 Slide 2 of 18
  • 3. GUI Applications Development Using .NET Framework Standard Accessibility Properties in VC# To make an application accessible, some properties need to be set for the various controls on a form. These are: AccessibleName AccessibleDescription AccessibleRole TabIndex Text Font Size Ver. 1.0 Session 8 Slide 3 of 18
  • 4. GUI Applications Development Using .NET Framework Just a minute Which property is used to specify the use of an element in the user interface and reports it to the accessibility aids? 1. AccessibleDescription 2. AccessibleRole 3. AccessibleName Answer: 2. AccessibleRole Ver. 1.0 Session 8 Slide 4 of 18
  • 5. GUI Applications Development Using .NET Framework Identifying Features of International Applications • International applications are designed to be used across the world. • International applications should be customizable according to the preferences of the users across the world. • An application refers to a locale to identify users’ preferences. The locale includes information about formats used for representing time and date, symbols and conventions used for representing currency, and the character encoding scheme being used. Ver. 1.0 Session 8 Slide 5 of 18
  • 6. GUI Applications Development Using .NET Framework Identifying Features of International Applications (Contd.) The structure of an internationalized application is divided into two blocks: – Code block Contains the application – Data block code or the executable part of an application. This block will remain same for all locales. Ver. 1.0 Session 8 Slide 6 of 18
  • 7. GUI Applications Development Using .NET Framework Identifying Features of International Applications (Contd.) The structure of an internationalized application is divided into two blocks: – Code block – Data block Contains all the resources, such as text and images, used by the user interface (UI). This block is locale-specific, and each locale will have one data block. Ver. 1.0 Session 8 Slide 7 of 18
  • 8. GUI Applications Development Using .NET Framework Identifying Features of International Applications (Contd.) The process of making an application ready for international customers is called internationalization. This process includes three phases as shown in the following figure. Involves writing the Involves testing an Involves the executable code for an application, which has customization of an application in such a been globalized to ensure application for a way that makes it that its executable code is specific locale. culture-neutral and independent of the culture language-neutral. and language specific data. Ver. 1.0 Session 8 Slide 8 of 18
  • 9. GUI Applications Development Using .NET Framework Factors Related to Creating International Applications The issues related to internationalization of applications are: Language issues Formatting issues String-related issues User-interface issues Ver. 1.0 Session 8 Slide 9 of 18
  • 10. GUI Applications Development Using .NET Framework Creating International Applications To create international applications, implement the following: Work with multiple culture codes Culture-specific formatting Character encoding Right-to-left display Validate non-Latin user input Culture-specific classes and methods Ver. 1.0 Session 8 Slide 10 of 18
  • 11. GUI Applications Development Using .NET Framework Just a minute • Which property of the CultureInfo class will return an instance of the CultureInfo class that represents the culture for culture-specific resources? Answer: CurrentUICulture Ver. 1.0 Session 8 Slide 11 of 18
  • 12. GUI Applications Development Using .NET Framework Globalizing Windows Forms Globalization is the process of identifying all localizable resources in the application and separating them from the executable code so that the localizable resources can be modified easily. Let us understand how we can create such applications. Ver. 1.0 Session 8 Slide 12 of 18
  • 13. GUI Applications Development Using .NET Framework Localizing Windows Forms Localization is the process of customizing an application for a given culture. Localization consists primarily of translating the user interface. A form can be localized by setting its Localizable property to True. Let us understand how can we create such applications. Ver. 1.0 Session 8 Slide 13 of 18
  • 14. GUI Applications Development Using .NET Framework Application Resources A resource is any non-executable data that is logically deployed with the application. Packaging the localizable data in a resource file allows to change the data without recompiling the entire application. Information is stored in a resource file in the Key/Value format. Consider the following code snippet: Key WelcomeText = “Welcome to VC#” Value Ver. 1.0 Session 8 Slide 14 of 18
  • 15. GUI Applications Development Using .NET Framework Resource Assemblies Resource assemblies are assemblies that contain only resources. Advantage of resource assemblies: The assembly can be updated as and when required without having to recompile the application. Satellite assemblies are resource assemblies that include separate resources for different cultures. Ver. 1.0 Session 8 Slide 15 of 18
  • 16. GUI Applications Development Using .NET Framework Just a minute Which command prompt utility is used to convert a resource file from the text format into the binary format? Answer: Resource File Generator (ResGen.exe) Utility Ver. 1.0 Session 8 Slide 16 of 18
  • 17. GUI Applications Development Using .NET Framework Summary In this session, you learned that: Applications need to be made accessible so that they can be used by a wide range of audience, including those with special needs. You need to follow a set of guidelines for developing accessible applications. The .NET Framework provides support for the development of world-ready applications. It helps you create applications that adapt to various languages, currency formats, date/time formats, and other culture-specific information. When developing a world-ready application, the process should be divided into three phases: globalization, localizability, and localization. While globalizing an application, you should strive to code the application in such a way that allows it to work equally well for all cultures your application supports. Ver. 1.0 Session 8 Slide 17 of 18
  • 18. GUI Applications Development Using .NET Framework Summary (Contd.) During the localizability phase, you test whether the application's executable code has been properly separated from its resources. During localization an application is customized for specific cultures or regions. A resource is any non-executable data that is logically deployed with an application. Ver. 1.0 Session 8 Slide 18 of 18

Editor's Notes

  • #2: Start the session by sharing the session objectives with the students.
  • #3: Initiate the session by discussing with the students that there are people with different types of disabilities such as visual and hearing disabilities. In addition, discuss with the students that the users around the globe may be accessing the applications differently. While some of them may access applications on their desktops, some might access applications on their mobile devices. Also discuss with the students that all the users around the globe have different languages. Therefore, the applications that are designed must be capable of fulfilling the requirements of this wide variety of users. Such applications are known as accessible applications and can be developed easily by using VC#. Also discuss with the students that there are several guidelines for designing these accessible application. Discuss all of these guidelines with the students.
  • #4: Discuss all of the properties listed on this slide for designing accessible options.
  • #5: Reiterate the concepts taught earlier by asking the given question.
  • #6: Using this slide, discuss with the students that International applications provide the flexibility to be used across the globe. But in order to design these applications, it is essential to include information about the date and time formats and currency symbols. Discuss the following example with the students: a sales monitoring application designed for users in United States uses dollars as their currency. The same application when used by users in UK, would create problems as the users in UK will require all the currency to be converted into pounds. But by using international application, the same application can be used in the United States with dollar format and in UK with pound format. Therefore, the advantage of creating international applications using VC# is that the user is able to get customized applications.
  • #7: Using this and the next slide, discuss the structure of the International applications. Discuss with the students that the application is divided into two blocks, code block and the data block. The code block contains all the code, while the data block contains locale specific information. For example, the application when used in United States will have its currency in dollar. Whereas when the same application is used in UK, it will have its currency format as pounds.
  • #9: Using this slide discuss the process of internationalization with the students. Discuss all the three phases : Globalization Localizability Localization Explain this with the help of same sales monitoring application example. Explain to the students that globalization involves creating a general sales monitoring executable application which is not specific to any particular culture around the globe. Localizability involves testing this sales monitoring application to ensure that it does not require any culture specific data and it can work independently. Finally, to use the application for a specific culture such as in United States or UK, the sales monitoring application will have to be localized.
  • #10: Using this slide, discuss all the issues relating to the internationalization of applications. Explain the language issues to the students by taking the same example as given in the SG. This explains about the Arabic language which is written from right-to-left and hence can create problems while being used in an application. The formatting issues can also be discussed with the help of an example. The example that can be used to explain formatting issue is that of the currency. The currency keeps varying for most of the countries. The string related issues can be discussed with the students as discussed in the SG. Explain to the students that because of difference in language and alphabet set, the appearance of the application may need to be taken care of. For example, “Hello” is an english word. The same word may be written in different languages differently. The user-interface issues have similar problems. The strings written in different language require space differently and may create problems in appearance.
  • #11: Using this slide, discuss the factors to be considered while developing international application. The faculty must use the previous slide to categorize the issues. Working with multiple culture codes can lead to formatting issues Culture-specific formatting Character encoding can lead to language issues Handling right-to-left display can lead to language issues, formatting issues, and user-interface issues Validating non-Latin user input can lead to language issues as well as string related issues Using the culture-specific classes and methods can lead to language issues
  • #12: Reiterate the concepts taught earlier by asking the given question.
  • #13: The faculty must demonstrate the creation of such applications. In addition, using this slide you can discuss globalization with the students. You can take the same example from the SG which is as follows: Consider a form with a Label control named DateLabel, whose Text property is set as: DateLabel.Text = “5/23/1994”; In this case, the Text property of the DateLabel control is set to a constant value and therefore, will always be displayed, as is, whatever be the current culture-settings. Different cultures may use different formats for displaying dates. Therefore, you need to set the Text property of the DateLabel in such a way that allows the application to automatically display the date in a format corresponding to the current culture settings. You can set the Text property of the label by using the Format function, as shown in the following example: DateTime MyDateTime = DateTime.Parse("May 23, 1994"); DateLabel.Text = (MyDateTime.ToString(“d”));
  • #14: Using this and the next slide, the faculty must demonstrate how an application is localized and how resource files are created.
  • #16: Explain the advantage of using resource assemblies. These are extremely helpful in large applications where a large number of resource files are created.
  • #17: Reiterate the concepts taught earlier by asking the given question.
  • #18: You can summarize the session by using the summary given in the slides. In addition, you can also ask students summarize what they have learnt in this session.