Skip to content

LazyScar/BiliBili-To-English

Repository files navigation

BiliBili To English

BiliBili is a video platform that only has a Chinese version. To translate its content into English or multiple languages, you can use this extension. This extension works on browsers like Chrome, Bing, Firefox, Brave, Opera, and many more.

Using FireFox?

🔥Features

  • Multi-language support: Translate to English, French, Russian and more languages coming soon!
  • Beautiful language selection popup: Easy-to-use interface with flags and language names
  • Real-time translation of captions
  • Comprehensive translation for the entire page, including buttons and menus
  • Real-time translation of comments on manga.bilibili.com (note: does not function on bilibili.com)
  • Instant translation of video titles, views, and likes
  • Language persistence: Your language choice is saved and remembered

Screenshot:

image

⚡How it works

It starts by checking language-specific dictionary files to switch Chinese words to your selected language. If it finds a word/sentence not in the dictionary, it uses Google Translate for the translation. This whole process is quick, usually taking just 0.5 seconds to translate what's on your screen. Moreover, it can translate text even if you don't refresh the page.

🌐 Supported Languages

  • English 🇺🇸 - Complete translation dictionary
  • French 🇫🇷 - Complete translation dictionary
  • Russian 🇷🇺 - Complete translation dictionary
  • More languages coming soon!

Installation Instructions:

For Firefox Browser:

For Chrome, Brave, Bing, Opera Browsers.

To install this Chrome extension, follow these steps:

  1. Download this repository as a ZIP file and extract it.
  2. Open Chrome and go to the extension menu from Settings or by typing chrome://extensions/ in the address bar.
  3. Turn on Developer mode by clicking the switch.
  4. Click on Load unpacked and select the extracted folder. Ensure you choose the entire folder.
  5. You can click the refresh icon optionally (recommended but not mandatory).
  6. Turn off Developer mode once the installation is complete.

🎯 How to Use

  1. Install the extension
  2. Navigate to any BiliBili page
  3. Click the extension icon in your browser toolbar
  4. Select your preferred language from the beautiful popup interface
  5. The page will automatically translate to your selected language
  6. Your language preference is saved for future visits

Todo List

  • Add more language support (Spanish, German, Japanese, etc.)
  • Fix the issue that it doesn't translate the comments of videos on bilibili.com
  • Improve the efficiency of the translation code to reduce loading times.
  • Optimize the language dictionary files with more comprehensive entries to minimize reliance on Google Translate.
  • Add language-specific UI themes

🤝 Contributing

Love what you see? Want to add a new language or help improve the extension?
See our Contribution Guidelines to get started!

⭐ Star History

Star History Chart

🤝 Credits

Made By LazyScar, and the original dictionary.js file was taken from XilkyTofu.