Download - Internationalization (i18n) testing demo ppts | Basic Introduction

Transcript
Page 1: Internationalization (i18n) testing demo ppts | Basic Introduction

For more details please contact us:US : +1 718 819 9361INDIA : +91 8099776681Email Us : [email protected]

Welcome to Internationalization(i18n)

Page 2: Internationalization (i18n) testing demo ppts | Basic Introduction

2 http://kerneltraining.com/internationalization-i18n-testing-training/

Introduction of the Company We Kernel Training offer world class online training on

various technologies. We have trained number of professionals across the globe. We provide online training for number of courses such as Linux, VMware, Oracle DBA. 

  We provide Support & Services, Solutions Provider,

Consulting, Training, We have our own DATA CENTRE to support

Kernel a world class Corporate/Student/ Online IT training center, is the best choice for those looking for highly interactive and result-oriented training programs. We offer a number of customized IT training programs for small, medium as well as large organizations. As per the client’s requirements we deliver training programs.

Page 3: Internationalization (i18n) testing demo ppts | Basic Introduction

3 http://kerneltraining.com/internationalization-i18n-testing-training/

Introduction of Trainer QA Manager in a Big US Based MNC.

14 years of experience in Software Testing domain which includes Internalization and Localization testing.

ISTQB Certified,

ITIL Certified,

Certified Scrum Master,

Certified Scrum Product Owner,

Executive MBA from IIM K

Masters in Computer Management

Whitepapers

Panelist

Guest Speaker

Page 4: Internationalization (i18n) testing demo ppts | Basic Introduction

4 http://kerneltraining.com/internationalization-i18n-testing-training/

Course Syllabus What is Internationalization (i18n)? What is Localization (L10n)? What is Globalization (G11n)? What is Pesudo-Localization testing? Why i18n is important? How to setup the Localized Environment (Windows, Linux

and Unix) to perform i18n testing? What is encoding? What is IME? How to enter Japanese words using English keyboard? What are things which needs to be taken care while

setting up the database with respect to i18n testing?

Page 5: Internationalization (i18n) testing demo ppts | Basic Introduction

5 http://kerneltraining.com/internationalization-i18n-testing-training/

Course Syllabus

If I don't speak the language, how can I ensure quality? Are you aware of the culturally biased assumption? What all to test as a part of i18n testing? The role of testing tools in i18n testing? How to write test case for i18n testing? What kind of issues you can found as part of i18n testing? Tips and tricks to perform i18n testing? How to troubleshoot the problems encounter on Localized

environment? What is Unicode and why is this so important? What is locale? Sample i18n testing test cases Automation for i18n testing

Page 6: Internationalization (i18n) testing demo ppts | Basic Introduction

6 http://kerneltraining.com/internationalization-i18n-testing-training/

Fundamentals of Software Testing What is software Testing? It is a process which is used to identify the correctness, completeness and quality of the Software Application or System. Software testing is done in order to find out the defects/errors/bugs in Software Application so that it can be fixed before it is released in the market. In layman’s language, Software Testing is an activity which is done to make sure that the system is defect free and it is doing what it is supposed to do. 

Page 7: Internationalization (i18n) testing demo ppts | Basic Introduction

7 http://kerneltraining.com/internationalization-i18n-testing-training/

Can anyone identify the Language

Page 8: Internationalization (i18n) testing demo ppts | Basic Introduction

8 http://kerneltraining.com/internationalization-i18n-testing-training/

Please explain this advertisement

Page 9: Internationalization (i18n) testing demo ppts | Basic Introduction

9 http://kerneltraining.com/internationalization-i18n-testing-training/

Famous Quotes

Some famous quotesIf I'm selling to you, I speak your language. If I'm buying, “dann müssen Sie Deutsch sprechen.”

Willy Brandt, former German Chancellor

“Over six billion people live in over 200 countries spanning 24 time zones. These people use hundreds of currencies to conduct business in thousands of different languages and dialects. Their business practices are literally all over the map, ranging from simple barter to cash to electronic payment to sophisticated arbitrage. Most speak Chinese, Spanish, Russian, or something other than English.”

By Donald A. DePalma, Founder and CEO, Common Sense Advisory 

Page 10: Internationalization (i18n) testing demo ppts | Basic Introduction

10 http://kerneltraining.com/internationalization-i18n-testing-training/

Let’s know some interesting facts

Left-hand drive cars in UK, JapanUS automobile manufactures would not find much success if they attempt to sell lefthand drive cars in Australia, UK or Japan.

Size labeling in clothingLikewise, clothing manufactures that sell their products around the world must label clothing appropriately, depending upon the local market (European size differs from US sizes, and symbols indicating cleaning directions are different around the world)

Page 11: Internationalization (i18n) testing demo ppts | Basic Introduction

11 http://kerneltraining.com/internationalization-i18n-testing-training/

Let’s know some interesting facts

Left-hand drive cars in UK, Japan Size labeling in clothing Washing machine across world

Page 12: Internationalization (i18n) testing demo ppts | Basic Introduction

12 http://kerneltraining.com/internationalization-i18n-testing-training/

Let’s know some interesting facts

Daylight Savings Colors – same color different meanings Numbers – lucky & unlucky numbers

Page 13: Internationalization (i18n) testing demo ppts | Basic Introduction

13 http://kerneltraining.com/internationalization-i18n-testing-training/

Let’s know some interesting facts

Currency Symbols - can appear in left of the no. (Argentina) and right of the no. (France)

Start Week of the week US weeks starts with Sunday UK weeks starts with Monday

Page 14: Internationalization (i18n) testing demo ppts | Basic Introduction

14 http://kerneltraining.com/internationalization-i18n-testing-training/

Let’s know some interesting facts

Which one is correct? 1 billion = 1000 million 1 billion = 1000000 million

US 1 billion = 1000 millionUK 1 billion = 1000000 million (a trillion US)

Page 15: Internationalization (i18n) testing demo ppts | Basic Introduction

15 http://kerneltraining.com/internationalization-i18n-testing-training/

Let’s know some interesting facts

Page 16: Internationalization (i18n) testing demo ppts | Basic Introduction

16 http://kerneltraining.com/internationalization-i18n-testing-training/

Let’s know some interesting facts

Page 17: Internationalization (i18n) testing demo ppts | Basic Introduction

17 http://kerneltraining.com/internationalization-i18n-testing-training/

Let’s know some interesting facts

How do you read 06/05/2009?

Page 18: Internationalization (i18n) testing demo ppts | Basic Introduction

18 http://kerneltraining.com/internationalization-i18n-testing-training/

Let’s know some interesting facts

Page 19: Internationalization (i18n) testing demo ppts | Basic Introduction

19 http://kerneltraining.com/internationalization-i18n-testing-training/

Let’s know some interesting facts

Page 20: Internationalization (i18n) testing demo ppts | Basic Introduction

20 http://kerneltraining.com/internationalization-i18n-testing-training/

Internationalization Vs. Localization

Internationalization

Localization

Globalization

Internationalization (i18n): Internationalization is the process of designing a software application so that it can be adapted to various languages and regions without engineering changes.

Localization (L10n): Localization is the process of adapting internationalized software for a specific region or language by adding locale-specific components and translating text.

Globalization (g11n): Internationalization & Localization together is called Globalization.

Page 21: Internationalization (i18n) testing demo ppts | Basic Introduction

21 http://kerneltraining.com/internationalization-i18n-testing-training/

Internationalization Vs. Localization

LocalizationInternationalization

Page 22: Internationalization (i18n) testing demo ppts | Basic Introduction

22 http://kerneltraining.com/internationalization-i18n-testing-training/

Why Internationalization?

Page 23: Internationalization (i18n) testing demo ppts | Basic Introduction

23 http://kerneltraining.com/internationalization-i18n-testing-training/

Why Internationalization?

NASA lost a $125 million Mars orbiter because of confusion over

measurementsystem. http://edition.cnn.com/TECH/space/

9909/30/mars.metric.02

Page 24: Internationalization (i18n) testing demo ppts | Basic Introduction

24 http://kerneltraining.com/internationalization-i18n-testing-training/

Why Internationalization?

Diverse user environments – Geopolitical issuesWindows 95 in India

“Kakuto Chojin” fighter game had to be withdrawn worldwide

Microsoft employees were arrested in Turkey as Kurdistan

was shown as separate entity in it’s country map in Encarta

CD-ROM encyclopedia

Ref:-

http://www.bytelevel.com/blog/archives/000236.html

http://www.taipeitimes.com/News/worldbiz/archives/2004/08/20/2003199505

Page 25: Internationalization (i18n) testing demo ppts | Basic Introduction

25 http://kerneltraining.com/internationalization-i18n-testing-training/

Culturally biased assumptions

• Several languages, including Danish, have letters that appear after Z in the alphabet. Also, for languages that don’t use Latin scripts, such as Arabic, Korean, and Russian, this assumption doesn’t hold true.

A-Z contains all letters in the alphabet

• Many scripts don’t have the concept of case. Examples include Han ideographs as used in Chinese, Japanese, and Korean (CJK), and other scripts, such as Arabic, Hebrew, and Thai.

All scripts contains upper and lowercase

letters

• Scripts used to write CJK and Thai don’t have the concept of word separation: asentencewouldlooklikethis.

Words are separated by spaces.

Page 26: Internationalization (i18n) testing demo ppts | Basic Introduction

26 http://kerneltraining.com/internationalization-i18n-testing-training/

Culturally biased assumptions

• Many languages use different punctuation symbols.

• Quotes – “English”, „German“, «France»• Full stop - Eng. Japanese。Hindi!• Question Mark – Eng?, ¿Spanish?

Punctuation is the same

• Arabic and Hebrew are bidirectional languages. That is, characters are written as right to left, but numbers embedded in text are written from left to right. Mongolian is written vertically from left to right. Chinese can be written either horizontally from left to right or vertically from right to left

Text is written left to right

• Many calendars systems exists around the world, including Buddhist, Hebrew, Hijri (Islamic), and Japanese Era calendars. The Thai government, for example, permits only Buddhist calendar dates for use in business settings.

All calendar systems are Gregorian.

Page 27: Internationalization (i18n) testing demo ppts | Basic Introduction

27 http://kerneltraining.com/internationalization-i18n-testing-training/

Culturally biased assumptions

• An 8-bit byte has only enough space to store a maximum of 256 characters. The no. of characters in Chinese exceeds 40,000. To store all these characters, multiple bytes are used to encode a single character. In Unicode 2.x, characters are stored in 2 bytes.

Characters are equivalent to bytes.

• Languages that share a script do not always sort the same way. For example, French uses a multilevel sort in which the first level collates words using the base characters starting from the left of the word and working towards the right (the same way it is done in English). If any character contains diacritics, a second level sort is performed, starting from right and working toward the left to break any ties.

Sort order is same for all languages that share

a common script.

• Some scripts, such as Arabic and Hebrew don’t require vowels. The vowels are implied, though they are often used in children’s books and religious texts.

Word contains consonants and vowels.

Page 28: Internationalization (i18n) testing demo ppts | Basic Introduction

28 http://kerneltraining.com/internationalization-i18n-testing-training/

What to test in i18n Testing?

Execute your regular test cases, but on a non-English environment

…with non-English data

Page 29: Internationalization (i18n) testing demo ppts | Basic Introduction

29 http://kerneltraining.com/internationalization-i18n-testing-training/

What to test in i18n Testing? General i18n Testing

Character display Data handling Date/Time/Numeric Format Sort/Search Postal Address Format Person Name Format Work Week Start day of the Week Non-Gregorian Calendar Support

With Pseudo-Localization Testing Hard Coded Strings Concatenation Truncation

Page 30: Internationalization (i18n) testing demo ppts | Basic Introduction

30 http://kerneltraining.com/internationalization-i18n-testing-training/

What to test in i18n Testing? Use applicable non-English environment

Use localized OS/DB/Applications/Browser (as defined in the product requirement)

Change the locale setting on the English OS (Unix/Linux), DB (Oracle), etc

Use non-US input everywhere possible Characters Numeric Format Date Format Currency Symbols Sort/Search

Page 31: Internationalization (i18n) testing demo ppts | Basic Introduction

31 http://kerneltraining.com/internationalization-i18n-testing-training/

What to test in Pseudo-Localization Testing? Pseudo localization is a tool for i18n testing

Pseudo localization (PLOC) simulates the localization (translation) process.

It is a fake translation of all resource files.

Strings are “translated” by adding prefix, suffix, identifier and a string prolongation to simulate string representation of other languages.

It maintains readability

Page 32: Internationalization (i18n) testing demo ppts | Basic Introduction

32 http://kerneltraining.com/internationalization-i18n-testing-training/

What to test in Pseudo-Localization Testing?How do you test a pseudo localized build?

Pseudo-Localization is a tool for i18n testing You would conduct a regular i18n testing but with keeping the

following in mind: Look for Under/Over Translated Strings Look for Corrupted Characters Look for Truncated strings Look for Concatenated strings

Make i18n/pseudo-localization testing part of the sprint exit criteria

Page 33: Internationalization (i18n) testing demo ppts | Basic Introduction

33 http://kerneltraining.com/internationalization-i18n-testing-training/

Tips on Navigation Icons

Shortcut keys (not always reliable especially in European languages)

Positions in the menu (not always reliable especially in a list)

“Commonly used strings” on i18n CoE Community Site

Online Translation Tools

Have an English system in parallel

Page 34: Internationalization (i18n) testing demo ppts | Basic Introduction

34 http://kerneltraining.com/internationalization-i18n-testing-training/

Tips on Navigation

Page 35: Internationalization (i18n) testing demo ppts | Basic Introduction

Callus:+91 8099776681 Email:[email protected]://kerneltraining.com/internationalization-i18n-testing-training/

Questions ?

Page 36: Internationalization (i18n) testing demo ppts | Basic Introduction

Callus:+91 8099776681 Email:[email protected]://kerneltraining.com/internationalization-i18n-testing-training/