locengine-4.6.5
🌐 Web Scanner & I18N Scanner
Professional translation string extraction for modern web frameworks and internationalization systems
🌍 Web Scanner
Extracts translatable strings from HTML, CSS, JavaScript, React, Vue, and Angular files with 90%+ accuracy. Auto-detects frameworks and provides context-aware extraction.
✅ Supported Frameworks
- React / Next.js - 90% accuracy
- Vue / Nuxt.js - 85% accuracy (Beta)
- Angular - 85% accuracy
- HTML5 - 98% accuracy
- JavaScript / TypeScript - 90% accuracy
- PHP - 95% accuracy
- CSS / SCSS - Content only
📝 Extraction Capabilities
- JSX text & props
- Ternary conditions
- Template literals
- HTML attributes
- Alert/Confirm/Prompt
- CSS content property
📊 Supported File Types
| Extension | Framework | Extraction | Accuracy |
|---|---|---|---|
| .jsx, .tsx | React | ✅ Full | 90% |
| .vue | Vue | ✅ Full | 85% (Beta) |
| .html, .htm | HTML | ✅ Full | 98% |
| .js, .ts | JavaScript | ✅ Full | 90% |
| .css, .scss | CSS | ⚠️ Content only | 70% |
| .php | PHP | ✅ HTML only | 95% |
🎨 Context Display Modes
📍 Single Line
Shows only the line containing the extracted string with exact position.
>>> 42: <h1>Welcome to our store</h1>
📄 Extended (20 lines)
Shows 10 lines above and 10 lines below for full context.
38: <div class="hero">
39: <div class="container">
>>> 40: <h1>Welcome</h1>
41: <p>Shop now</p>
42: </div>
🔧 Function/Block
Shows entire function or code block containing the string.
function Welcome() {
return (
>>> <h1>Welcome</h1>
);
}
🔤 I18N Scanner
Extracts i18n keys from internationalized projects across 12+ frameworks.
🔌 Supported Plugins
- WordPress - __(), _e(), esc_html__()
- React - t(), useTranslation, <Trans>
- Vue - $t(), v-text, :placeholder
- Angular - translate pipe, directive
- Python - _(), gettext(), ngettext()
- JavaScript - i18n.t(), t()
- Next.js - serverSideTranslations
- Nuxt.js - $t(), useI18n
- PHP - __(), _e(), gettext()
- Flutter - ARB files
- .NET - RESX files
- Java - Properties files
📤 Export Formats
- JSON (i18next, react-intl)
- PO / POT (Gettext)
- ARB (Flutter)
- XLIFF
- Properties (Java)
- RESX (.NET)
- YAML (Rails)
- CSV / Excel
🔄 Smart Merge Modes
| Mode | Description | Use Case |
|---|---|---|
| Keep Old | Preserves existing translations | Safe updates |
| Overwrite | Replaces with new translations | Fresh start |
| Smart | Keeps valid translations, adds missing | Recommended |
| Keep Orphaned | Preserves keys not in code | Legacy support |
✨ Key Features
🎯 Auto Framework Detection
Automatically detects which frameworks are used in your project.
🔍 Context-Aware Extraction
Shows surrounding code lines to help understand context.
🔄 Smart Deduplication
Automatically removes duplicate strings.
📊 Statistics Dashboard
Displays files scanned, strings found, and processing time.
💾 Cache System
Intelligent caching prevents re-extraction.
🔌 Plugin Architecture
Easily extendable plugin system.
📖 Quick Start Guide
Step 1: Select Project
Choose your web project folder path in the application.
Step 2: Choose Scanner
Click "Web Scan" or "I18N Scan" button based on your needs.
Step 3: Review Results
Results are displayed in the Results tab with all extracted strings.
Step 4: Translate & Export
Translate strings manually or via Google Translate, then export to your desired format.
🛠️ Technical Specifications
📁 Supported File Extensions
- .html, .htm
- .js, .ts
- .jsx, .tsx
- .vue
- .css, .scss, .sass
- .php
- .xml, .xaml
- .po, .pot
- .arb, .resx
- .properties
🚫 Ignored Patterns
- node_modules/
- vendor/
- dist/, build/
- .git/
- *.min.js, *.min.css
- package-lock.json
- yarn.lock
- __pycache__/
🔧 Installation Requirements
- Python 3.8+
- No external dependencies required
- Optional: polib for PO/POT export
- Optional: chardet for encoding detection
📊 Framework Accuracy Report
Detailed accuracy metrics for each supported framework in LocEngine 4.6.5
📈 Notes
- Production Ready - HTML, PHP, React, JavaScript, Python, WordPress
- Good - Angular (85% accuracy)
- Beta - Vue.js (85% accuracy, manual review recommended)
- CSS extraction is limited to content property values only
© 2024-2026 LocEngine. All rights reserved. | Version 4.6.5
Web Scanner & I18N Scanner - Professional translation string extraction for modern web development