LocEngine 4.6.5 - Web Scanner & I18N Scanner
Version 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.

90%+
Overall Accuracy
8+
Frameworks
3
Context Modes
2000
Files/Scan

✅ 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

ExtensionFrameworkExtractionAccuracy
.jsx, .tsxReact✅ Full90%
.vueVue✅ Full85% (Beta)
.html, .htmHTML✅ Full98%
.js, .tsJavaScript✅ Full90%
.css, .scssCSS⚠️ Content only70%
.phpPHP✅ HTML only95%

🎨 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.

12+
Plugins
8+
Export Formats
Auto
Detection
Merge
Existing Files

🔌 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

ModeDescriptionUse Case
Keep OldPreserves existing translationsSafe updates
OverwriteReplaces with new translationsFresh start
SmartKeeps valid translations, adds missingRecommended
Keep OrphanedPreserves keys not in codeLegacy 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

📄HTML98%
🐘PHP95%
⚛️React90%
📜JavaScript90%
🐍Python90%
🔷WordPress90%
🅰️Angular85%
🟢Vue85% (Beta)
🎨CSS70%

📈 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