Mobile Pseudo-Loc Testing

Mobile Pseudo-Loc Testing

Localization testing often happens near the end of the product development cycle, after features are done, UX are frozen, and localization has finished. By then, it is usually too late to make major design or code changes. The purpose of pseudo-localization is to find i18n issues early without the cost and delay of real localization. Specifically, pseudo-localization:

  • replaces US-ASCII characters with accented versions to show encoding issues (garbled characters) and hardcoded strings (not accented).
  • adds [brackets] around localizable strings to show concatenated (more than one pair of brackets) or truncated (missing brackets) strings.
  • expands strings by 30% to 100% to show layout issues like clipping, wrapping, overlapping. 
  • renders UX right-to-left to expose rendering issues with RTL languages like Arabic or Hebrew.

 

Both iOS and Android provide pseudo-localization capabilities for developers to find i18n issues and develop automated i18n tests from the beginning. For iOS, see above subject screenshot, select Edit Scheme... of the run target on the of top left of the XCode window, click Options tab, select either Double Length Pseudolanguage or Right to Left Pseudolanguage from Application Language, check the "Show non-localized strings" Localization Debugging option, hit run, and all localizable string resources of the app will be duplicated, or all UIView's will be laid out right to left. iOS doesn't bracket strings or accent characters. For automated test, add  or -AppleTextDirection YES launch argument in the Arguments pane of the scheme editor instead. More info at https://developer.apple.com/library/ios/documentation/MacOSX/Conceptual/BPInternational/TestingYourInternationalApp/TestingYourInternationalApp.html

For Android, the emulator or Nexus devices provide two pseudo locales: from Settings > Language & Input > Language, select either English (XA) or (XB) ??????????, the Settings app will honor the pseudo locale: 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

For apps to use the pseudo locales for testing, set pseudoLocalesEnabled to true in build.gradle, something like: buildTypes { debug { pseudoLocalesEnabled True } }. For more info, see https://androidbycode.wordpress.com/2015/04/19/pseudo-localization-testing-in-android

 

要查看或添加评论,请登录

Ning Zhang的更多文章

  • Infrastructure at Scale: Internationalization

    Infrastructure at Scale: Internationalization

    This blog series describe the engineering infrastructure (technologies, processes, tools and culture) that enable…

    2 条评论
  • Infrastructure at Scale: On-call

    Infrastructure at Scale: On-call

    This blog series describe the engineering infrastructure (technologies, processes, tools and culture) that enable…

  • Infrastructure at Scale: Tracking

    Infrastructure at Scale: Tracking

    This blog series describe the engineering infrastructure (technologies, processes, tools, and culture) that enables…

  • Infrastructure at Scale: Continuous Delivery

    Infrastructure at Scale: Continuous Delivery

    This blog series describe the engineering infrastructure (technologies, processes, tools and culture) that enable…

  • Infrastructure at Scale: Continuous Integration

    Infrastructure at Scale: Continuous Integration

    This blog series describe the engineering infrastructure (technologies, processes, tools and culture) that enable…

    1 条评论
  • Infrastructure at Scale: Overview

    Infrastructure at Scale: Overview

    This blog series describe the engineering infrastructure (technologies, processes, tools, and culture) that enable…

    17 条评论
  • C++ IDEs on Mac

    C++ IDEs on Mac

    As a weekend distraction, I looked into what C++ IDEs are available on Mac. All IDEs do pretty much the same thing, so…

    8 条评论
  • Use the same shortcut keys across outlook.com and gmail

    Use the same shortcut keys across outlook.com and gmail

    Not sure how many people know this, outlook.com allows convenient keyboard shortcuts just like Gmail (see above image).

    1 条评论
  • Gmail Tip: Keyboard Shortcuts

    Gmail Tip: Keyboard Shortcuts

    Gmail's keyboard shortcuts can save you a lot of time by allowing you to read/write/navigate emails without taking your…

    7 条评论
  • Share Your Phone, Not Password!

    Share Your Phone, Not Password!

    How many of you have experienced your kids mis-typed your pin on your phone three times and had it wiped clean by your…

    1 条评论

社区洞察

其他会员也浏览了