Files
translator-tools/public/docs/ARCHITECTURE.md
T

760 B

Architecture

Translator Tools is a static React/Vite application wrapped in the shared Toolbox shell.

The workbench parses a single imported locale file in-browser, normalizes either:

  • i18next-like language maps ({ "en": {...}, "de": {...} })
  • single-locale objects ({ "key": "value" }, or JS-style assignment forms like const de = {...}).

Strings are flattened into stable dot paths for review/editing and can be serialized back with an inverse unflattening step. Suggestions come from local glossary entries and are matched by language pair and fuzzy string distance.

No background workers are required today. Persistent state is limited to a local Storage glossary cache; everything else remains in process memory until download or transfer.