Transurf Docs

Page Translation Settings

Transurf's page translation configuration and personalization settings

Page translation is one of Transurf's core features, enabling intelligent translation of entire webpage content. This section introduces how to configure page translation settings for the best translation experience.

Basic Settings

Enable Page Translation

Once the page translation feature is enabled, you can trigger full-page translation in multiple ways.

Feature Description:

  • One-click translation of entire webpages
  • Intelligent recognition of main page content
  • Retain original page layout
  • Support for dynamic content translation

Language Configuration

Target Language Settings

Follow Global Settings

  • Use the target language from general settings
  • Maintain consistency in settings
  • Simplify configuration management
  • Suitable for most users

Independent Language Settings

  • Configure target language specifically for page translation
  • More flexible language choices
  • Suitable for specific scenarios
  • Recommended for advanced users

Translation Service Settings

Choose dedicated page translation services:

Service Selection

  • Choose from enabled services
  • Can use different services for other translation modes
  • Consider the performance of the service for page translation

Performance Optimization

  • Choose services with fast response times
  • Consider service stability
  • Evaluate translation quality

Trigger Methods

Manual Trigger

Shortcut Key Configuration

  • Alt+Q
  • Shift+Q
  • Ctrl+Q
  • Ctrl+Alt+Q
  • Support for combination key settings
  • Format: Ctrl+Alt+T
  • Real-time conflict detection
  • Compatibility verification

When customizing shortcuts, avoid conflicts with browser or other extension shortcuts.

Automatic Translation

Intelligent Detection

Feature Highlights:

  • Automatically detect page language
  • Smartly determine whether translation is needed
  • Avoid duplicate translations
  • Support dynamic content detection

Same-Site Translation Retention

When this feature is enabled, translation status will automatically be retained during navigation within the same website, providing a smoother browsing experience.

Advanced Configuration

URL Management

Exclusion Rules

Configure websites that do not require translation:

Wildcard Syntax

  • *.google.com - All Google subdomains
  • github.com/* - All GitHub pages
  • */admin/* - All admin pages
  • localhost:* - Local development environment

Exact URL Match

  • https://example.com - Exact match
  • https://example.com/page - Specific page
  • Case-sensitive
  • Protocol-sensitive

Regular Expression Mode

  • ^https://.*\.edu/.* - Educational websites
  • .*\.(pdf|doc|docx)$ - Document files
  • .*\/api\/.* - API endpoints
  • Advanced user feature

Language Filtering

  • Set languages not to be translated
  • Support for multi-language configuration
  • Whitelist mode
  • Automatically translate specified languages
  • More precise control

Style Customization

Visual Effects

Font Settings

Adjust Font Weight

  • Range: 300-900
  • Default: 400 (Normal)
  • 700: Bold
  • Adapt to different reading needs

Choose Font Style

  • Normal
  • Italic
  • Oblique
  • Maintain reading comfort

Font Size Ratio

  • Relative to the original text
  • Range: 50%-200%
  • Default: 100%
  • Adapt to vision needs

Color Theme

Translation Text Color

  • Customize the color of translated text
  • Support for hexadecimal color codes
  • Real-time preview effects

Background Color

  • Set the background color of translated text
  • Improve readability
  • Support transparency adjustment

Status Indicator Color

  • Loading color
  • Translation completion color
  • Error status color

Preset Styles

Built-in Themes

No Special Style

  • No visual effects applied
  • Retain original page appearance
  • Suitable for users who prefer simplicity

Highlight Display

  • Highlight translated content
  • Use background color for emphasis
  • Easy to distinguish between original and translated text

Underline Marking

  • Add underline to translated text
  • Lightweight visual cue
  • Does not affect page layout

Border Surrounding

  • Add borders to translation areas
  • Clear visual separation
  • Suitable for complex page layouts

Performance Optimization

Translation Performance

Content Optimization

Intelligent Content Recognition

  • Automatically skip navigation menus
  • Identify main content areas
  • Ignore ads and decorative elements

Batch Translation

  • Merge adjacent text nodes
  • Reduce API call frequency
  • Improve translation efficiency

Priority Sorting

  • Prioritize visible content for translation
  • Delay translation of collapsed content
  • On-demand translation strategy

Caching Mechanism

Multi-level Caching:

  • Memory Cache: Quick access for the current page
  • Local Cache: Cross-page session cache
  • Persistent Cache: Long-term storage for frequently used translations
  • Smart Expiry: Automatically clean up expired cache