Pseudolocalization is a method for testing how code handles other languages. But you don't need to have a full translation to do the testing. Words get replaced with an altered version to fake translation.
For example: Account Settings → Àççôûñţ Šéţţîñĝš
This extension includes two pseudolocalization options:
This option will replace English characters with accented characters. This helps test fonts and page encoding. It also makes the text 30% longer which helps test for variation in word lengths (for example: German is often longer than English).
This option will replace the English characters with backwards characters. It will also insert hidden characters what will get Firefox to treat the fake words as if they are in a language that is written from right to left.
It will also set the dir
attribute on the <html>
to RTL.
It's a very basic extension. To return to the original page, you will need to refresh.
This extension was inspired by Firefox 62 Pseudolocalization Demo and uses the transformString
function and
character maps straight out of Firefox.
The Your Second Extension tutorial on the MDN Web Docs site was very useful to me!
./zipup $VERSION
git push --follow-tags