Wikipedia Multi Language View

A userscript that allows you to view Wikipedia articles in multiple languages side by side. Perfect for language learning and comparative reading.
Features
- Side-by-side View: Display Wikipedia articles in two languages simultaneously
- Synchronized Scrolling: Both language views maintain their relative positions
- Customizable Languages: Easily configure your preferred languages
- Seamless Integration: Works directly on Wikipedia without external dependencies
- Cross-language Navigation: Clicking links in either view keeps the dual-language experience
Screenshots
![Tower of Babel]()
Installation
Install a userscript manager extension for your browser:
Install this userscript by clicking on the following link:
Confirm the installation when prompted by your userscript manager
Usage
- Navigate to any Wikipedia article
- The script will automatically load a second language view on the right side
- By default, it tries to load English, Japanese, or Chinese as the second language
- You can customize your preferred languages by editing the userscript
Customizing Languages
To change which languages are displayed as the second view:
- Open your userscript manager
- Edit the Wikipedia Multi Language View script
- Find this line:
javascript
const langs = ['en', 'ja', 'zh'] // modify this to your preferred languages
- Change the language codes to your preferred languages (in order of preference)
- Save your changes
Available language codes include: 'en', 'ja', 'zh', 'de', 'fr', 'es', 'ru', 'it', 'ko', 'pt', 'ar', 'vi', 'pl', 'uk', 'nl', 'sv', 'id', 'fi', 'no', and many more.
How It Works
The script:
- Detects available language versions of the current Wikipedia article
- Creates a split-screen view with the current article on the left
- Loads the article in your preferred second language on the right
- Handles cross-frame communication for scrolling synchronization
- Ensures links open in the parent window to maintain the dual-view
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
)
- Commit your changes (
git commit -m 'Add some amazing feature'
)
- Push to the branch (
git push origin feature/amazing-feature
)
- Open a Pull Request
Support
If you encounter any issues or have questions, please open an issue.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Author
Snowstar Miao (snomiao)
Donate
If you find this tool useful, consider supporting the developer.