Quick Integration
Step 1: Install Extension
Install Immersive Translate from the following browsers:- Chrome/Edge: Chrome Web Store
- Firefox: Firefox Add-ons
- Safari: Safari Extensions
Step 2: Configure Laozhang API
1 Open Settings Click the Immersive Translate extension icon, select “Settings” 2 Choose Translation Service In “Translation Services”, select “OpenAI” 3 Fill In API Configuration Configure the following information:- API Key: Enter your Laozhang API key
- Custom API URL:
https://api.yelinai.com/v1/chat/completions - Model: Select the model you need (e.g.,
gpt-4-turbo)
Recommended Model Selection
Choose appropriate models based on different translation scenarios:
Model Selection Recommendations
- Daily browsing: Use
gpt-3.5-turbo, fast and economical - Professional content: Use
gpt-4-turbo, high accuracy - Long articles: Use
claude-sonnet-4, supports long context - Technical documents: Use
gpt-4-turbo, precise terminology
Core Features
1. Bilingual Comparison Translation
Display original and translation side-by-side:- Paragraph-by-paragraph correspondence: Clear and intuitive
- Hover highlighting: Highlight corresponding paragraphs
- Quick positioning: Quickly find target content
2. Hover Translation
Hover over words for quick translation:- No need to copy and paste
- Instant results
- Supports multiple languages
3. Input Box Translation
Translate while typing:- Real-time translation feedback
- Supports multiple platforms
- Quick bilingual switching
4. PDF Translation
Translate PDF documents:- Maintain original layout
- Support bilingual comparison
- Export translated files
5. Subtitle Translation
Translate video subtitles:- Support YouTube, Netflix, etc.
- Real-time subtitle translation
- Bilingual subtitle display
Usage Scenarios
Scenario 1: Reading Technical Documentation
Reading technical articles/documentation on GitHub, Medium, etc.:- Open the page you need to read
- Click the Immersive Translate icon
- Automatically translate to bilingual display
- Hover over important paragraphs for further reading
Scenario 2: Academic Research
Reading English academic papers:- Open the paper page
- Enable translation feature
- Bilingual comparison reading
- Accurately understand terminology
- Take notes and cite
Scenario 3: News Browsing
Reading international news:- Visit foreign news websites
- Automatically trigger translation
- Quickly browse headlines
- In-depth reading of interesting content
Scenario 4: Video Learning
Watching English tutorial videos:- Open YouTube/Coursera videos
- Enable subtitle translation
- Real-time bilingual subtitle display
- Better understand content
Advanced Configuration
Custom Prompts
Customize prompts for translation:Translation Style Settings
Set different translation styles:Domain-specific Configuration
Optimize translation for specific domains:Feature Tips
Shortcut Keys
Smart Recognition
Auto-recognize and adapt:- Page Language: Auto-detect source language
- Content Type: Auto-adjust translation strategy
- User Preferences: Learn your habits
Cache Mechanism
Improve efficiency:- Translation Cache: Repeat content no re-translation
- Terminology Cache: Consistent professional terms
- Speed Optimization: Faster page loading
Troubleshooting
Connection Issues
Problem: Unable to connect to API Solutions:- Check if custom API URL is correct:
https://api.yelinai.com/v1/chat/completions - Verify API Key validity
- Check network connection
- Confirm firewall/proxy settings
Translation Quality Poor
Problem: Translation results don’t meet expectations Solutions:- Switch to a more advanced model (e.g., from GPT-3.5 to GPT-4)
- Adjust translation style (decrease temperature)
- Optimize prompt template
- Check if source language is correctly identified
Slow Translation Speed
Problem: Translation response is slow Solutions:- Switch to a faster model (e.g.,
gpt-3.5-turbo) - Enable cache feature
- Check network speed
- Reduce max_tokens setting
Some Content Not Translated
Problem: Some content on page is not translated Solutions:- Check if excluded translation selectors are set
- Refresh page and retry
- Manually trigger translation
- Check page structure if special
Best Practices
1. Choose Models Wisely
Choose appropriate models based on scenarios:2. Manage Translation Rules
Set translation rules:- Never translate: Set domain names or page selectors not to translate
- Always translate: Set auto-translation domain names
- Translation style: Set default style for different websites
3. Optimize Reading Experience
4. Cost Control
Control usage costs:- Use
gpt-3.5-turbofor daily browsing - Use advanced models only for important content
- Enable cache to reduce repeat translations
- Set daily usage limit
Plugin Configuration Examples
Daily Browsing Configuration
Professional Reading Configuration
Cost-optimized Configuration
Cost Optimization Strategy
Usage Strategy
Saving Tips
- Enable Cache: Avoid repeat translations
- Selective Translation: Translate only what you need
- Batch Processing: Translate multiple paragraphs at once
- Model Switching: Use appropriate models for different content
- Limit Token Count: Set reasonable max_tokens