TwitchTranslate

Automatically translates messages in Twitch chat to other languages.

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
MrSelenix
日安装量
0
总安装量
43
评分
1 0 0
版本
1.0.5
创建于
2025-01-12
更新于
2025-11-17
大小
48.6 KB
许可证
MIT
适用于

The core function of this script is to translate chat messages on Twitch to other languages. A choice of two servers are included...

  • Google Legacy - Free and always available. No Accounts or API keys needed. Unlimited translations
  • DeepL - Free and Paid accounts available with DeepL. An account is required to get an API key. Free tier limited to 500,000 characters per month.

Features:

  • Access the settings via a new chat button
  • On/Off toggle
  • Support for at least 66 Languages
  • Color customization for translated messages
  • Only translates messages if the detected language is different to the selected language
  • Only posts translated messages if it's different enough to the original text
  • Choose to show/hide emotes on translated messages.
  • Works in Pop-out chat and dashboard.
  • Now works on VoDs as of version 1.0.4 (settings button may appear in playback bar instead of chat box)

Potential future features

  • May look at the ability to translate user messages before posting to the chatrooms.

Removed in 1.0 and later

  • Some sensitivity settings no longer have entries in the settings menu. They can still be changed directly in the code block.
  • Blocked words list (was primarily designed for emotes which are now handled differently)
  • " Temporarily (tm) " removed Historical Translations as its broken

Compatibility

  • Works with BTTV and 7TV
  • Other 3rd party extensions are untested

This script was originally designed for personal use, and was being developed while learning how to program in JavaScript. As such there are likely to be some portions of the code that are poorly designed or unnecessary, and may well be liable to bugs. Keep in mind the accuracy of Translations relies soley on the API's, not the code.

On rare occasions, the settings button doesn't load properly but the script still runs. A page refresh usually fixes this.

The script was created and tested on Brave and Firefox, but may have issues with other browser


Important note: Developer mode must be enabled for Tampermonkey or equivalent, in order to allow for proper injection to the webpage. This needs to be done via your browser extensions.