A Firefox extension that automatically translates manga/comic images using the manga-image-translator backend. This is an experimental version for testing purposes.
This is an experimental extension for testing purposes only.
- Automatic detection and translation of comic images
- display modes (overlay, replace)
- Batch translation with custom CSS selectors
- Configurable translation settings
- Error handling that gracefully skips problematic images
- Firefox browser
- A running instance of manga-image-translator backend
- The backend must be accessible at the configured URL (default: http://127.0.0.1:8000)
- Clone or download this repository
- Open Firefox and navigate to
about:debugging - Click "This Firefox"
- Click "Load Temporary Add-on..."
- Select the
manifest.jsonfile from the downloaded repository
-
Install the manga-image-translator backend:
git clone https://github.com/zyddnys/manga-image-translator.git cd manga-image-translator pip install -r requirements.txt -
Start the backend server:
cd server python main.py --use-gpu -
The server will start at
http://127.0.0.1:8000by default
- Click the extension icon in your browser toolbar
- Configure the settings:
- Backend URL: Ensure it matches your server address
- Translator: Choose your preferred translator (offline or online)
- Display Mode: Select how translations should appear
- CSS Selector: Specify which images to translate automatically
- Configure a CSS selector in the extension settings (default:
[name="image-item"] img) - Enable "Auto-Translation" in the settings
- The extension will automatically detect and translate images matching your selector
- Right-click on any comic image and select "Translate Image"
- Or hover over an image and click the translate button (🌐) that appears
- Or hover over an image and press Alt+T
- Right-click on a page and select "Translate Images with CSS Selector..."
- Enter one or more CSS selectors to target multiple images
- Click "Translate Now" to translate all matching images
Important: The API model settings are not fully configured yet.
To use the translation features, you must set up the manga-image-translator backend separately
For offline translators, the models will be downloaded automatically when first used. For online translators, you'll need to configure the appropriate API keys.