View Source mix gettext.pseudolocalize (GettextPseudolocalize v0.1.1)

Creates a pseudolocalized version of the xx locale for testing internationalization.

Pseudolocalization is a software testing method used to verify internationalization aspects of software. It replaces ordinary characters with accented, uncommon, or otherwise modified versions while maintaining the readability of the text.

Usage

First, extract your gettext strings:

$ mix gettext.extract

Then run the pseudolocalization:

$ mix gettext.pseudolocalize

This will process all .po files in the xx locale directory (priv/gettext/xx/LC_MESSAGES/).