Early Testing of apps for global readiness is one of my top learning goal for some time. Use of pseudo-localization techniques to test global readiness of app has caught my fancy recently. My colleague Priyanka's(priyaag@thoughtworks.com) enthusiasm has only added to my desire to learn even stronger.
Recent tool support in open source world for pseudo-localization has only fueled my goal of learning.
Google's Pseudolocalization tool makes testing early much easier. I found it difficult to understand the usage of tool with the available resources.Priyanka and myself put effort to understand the usage of tool.With some effort we were able to learn this tool and we would like to share our understanding of the tool for wider community.
I am going to showcase usage of this tool, using a simple application that we built from using the sample application
InternationalizedMortgageCalculator.java on Java internationalization trailBefore I go there, below are some links that have some excellent guidelines, definitions, testcases and studies around i18n,l10n and pseudo-localization testing that i found very insightful.
Excellent introduction to Pseudolocalization on wikipedia
Helen Kask's thesis gives in depth understanding of various aspect of internationalization and pseudolocalization, options available and some pros and cons of various approaches - Pseudolocalization Realization for Skype Software
Google open source blog have some simple but excellent example to understand Pseudolocalization to catch i18n errors
Some excellent checklists and testcases below -
Lingotek Internationalization and Pseudo Localization data sheet
Localization and Internationalization testing knowledge paper - excellent test case and approach here Localization and Internationalization testing approach and testcases
Learning to use Google Pseudolocalization tool with Sample app -
1 : Build the sample app
create a java project in eclipse with sample java swing program InternationalizedMortgageCalculator.java
along with the resource files supplied
screenshot of the project in eclipse
2 : Play around with application
Run the application by right clicking the InternationalizedMortgageCalculator.java and selecting "Run As" -> "Java Application"
Use various "locales" using "Locale" drop down menu and see how selecting different locales and regional language setting changes the UI text and direction (for e.g. selecting ar-AR will make the direction of text and order and location of Menu items from Right to Left) , and locale sensitive information such as Currency etc.