Skip to content

🇬🇧 Forces localised web pages with poor or outdated translations to redirect to the original English content 🇬🇧

License

Notifications You must be signed in to change notification settings

mdesantis/force-english-content

Repository files navigation

Forces localised web pages with poor or outdated translations to redirect to the original English content.

Developer documentation content from many popular websites serving technical documentation is offered in many different languages. While this is normally a welcome idea, it is badly implemented by nagging the user with all sorts of changing messages and popups in translated content. Even worse, much of the content is simply machine-translated these days, making it hard to understand and sometimes completely incomprehensible. And even if you're lucky to find old content that was manually translated, it is often out of date and nobody tells you. This has led to misunderstandings in internet discussions more often than not, when I was served a completely different meaning than others that were accessing updated and corrected English content.

This extension fixes all these problems. Whenever it sees you accessing a localised site, it swiftly redirects you to the original content so that you get the most accurate information available. Redirection is performed quickly before you even reach out to the server for the localised site.

The only requirement that this extension imposes on you is that you should be able to understand English developer documentation easily. I consider this a necessity anyway. So have fun instead of being confused! 🇬🇧

Supported sites

Installation

Development

Dependencies

This project uses Bash for scripts, jq for the bump manifest version script, and Inkscape for the build icons script.

Setup on Ubuntu

There is a setup script for Ubuntu which prepares your machine for development:

./script/setup-ubuntu.sh

Setup on other OSes

Install Bash, jq, Inkscape and NodeJS and you're good to go.

Workflow

Make your changes, then run:

npx nyc npm test && npm run build && npm run lint

Releasing

Use npm version, e.g.:

npm version patch

Contributing

Contributions are welcome and straightforward to submit, as this is a one-man project. Just open an issue or create a pull request directly.

Acknowledgements

This extension is a revamp of English Content by Yves Goergen, to which I stole the main idea and the description above, as it is much better than any decription I could come up with. Thanks Yves!

Licensing

The code in this project is licensed under MPL 2.0 license.