Supercharge your X.com experience by replacing the default translator with the advanced Google Gemini AI. Get more accurate translations and a button that appears on *every* tweet.
Tired of the basic, often inaccurate X.com translator? This script replaces it with the powerful Google Gemini AI, giving you superior, context-aware translations.
Its main feature is the ability to translate any tweet. The script intelligently adds a translate button to every post, even where X.com doesn't provide one, and gives you full control over the translation process through a seamless, native-looking UI.
Follow these steps to get the script running.
You need a userscript manager to use this script. If you don't have one, please install one of these:
The script requires a personal API key to work.
AIzaSy....Once the script is installed, find any tweet and look for the new translate button.
API Key field.API Host. For direct access to Google's API, use https://generativelanguage.googleapis.com.