Replace page content with fake text of selected language. This is mostly for fun
, but also could be useful to check pages with different languages used.
- Add fake-translator.js to the page
- Run page with GET param
lang
equals to one of the listed languages. (See source for supported languages). E.g.index.html?lang=sp
for spanish.
- Refactor to a class
- Add some tests