App Blink eliminates external SaaS translation subscriptions (such as Lokalise or Crowdin) by automating translation directly inside your IDE upon saving your localization files.


⚑ Instant Save-Triggered Translation

Whenever you edit and save your base localization file:

  • Flutter: lib/l10n/app_en.arb
  • Angular: src/assets/i18n/en.json

App Blink's background file watcher detects the change, compares keys against existing language dictionaries, and dispatches new or updated strings to Gemini 3.1 Flash-Lite.

Performance & Target Languages:

* **Latency**: Completes in under 500ms using asynchronous non-blocking background workers. * **Format Preservation**: Strictly preserves ARB interpolation placeholders (`{userName}`, `{count, plural, ...}`) and Angular ICU expressions. * **Default Target Languages**: * British English (`en-GB`) * Spanish (`es`) * Hindi (`hi`) * French (`fr`) * German (`de`) * Japanese (`ja`) * Simplified Chinese (`zh-CN`) * Arabic (`ar` - with RTL formatting) * Portuguese (`pt`)

πŸ” Hardcoded String Extractor (`appblink.extractStrings`)

Writing UI code often leads to hardcoded text strings scattered across widget trees and templates. App Blink provides an automated extractor:

How It Works:

1. Open any Dart file (`*.dart`) or Angular template (`*.html`). 2. Run **App Blink: Extract Hardcoded Strings to Localization**. 3. App Blink parses the syntax tree: * Identifies literal text strings in `Text('...')` widgets or HTML tags. * Prompts for a canonical key name (e.g. `welcomeTitle`). * Appends the key to `app_en.arb` or `en.json`. * Replaces the source code with `AppLocalizations.of(context)!.welcomeTitle` or `{{ 'welcomeTitle' | translate }}`. 4. Saving the file immediately triggers background translation for all other languages.

πŸ“Š Localization Coverage Studio

In the sidebar under your active application, click Check Localization Coverage:

  • Scans all localization files for missing keys.
  • Flags untranslated or placeholder text.
  • Displays a completion percentage per language.
  • Click Translate Missing Keys to achieve 100% parity in one click.

βš™οΈ Configuration Reference (`settings.json`)

{
  // Enable or disable translation triggers when saving ARB/JSON files
  "appblink.localizationAutoTranslate": true,

  // List of target locale codes to maintain
  "appblink.localizationLanguages": [
    "en-GB",
    "hi",
    "es",
    "fr",
    "de",
    "ja",
    "zh-CN",
    "ar",
    "pt"
  ]
}