Most translation tools require framework-specific integrations — React hooks, Vue composables, Angular pipes, or PHP middleware. That means every framework needs a dedicated adapter, and if your framework is not supported, you are out of luck.
SiteLocaleAI takes a fundamentally different approach. Instead of integrating at the framework level, we operate at the DOM level. Our JS library:
- Observes the rendered DOM using a
MutationObserver, so it detects content changes regardless of which framework produced them. - Extracts visible text nodes from the live page, not from source templates or virtual DOMs.
- Replaces text in place without modifying the DOM structure, preserving event handlers, CSS classes, and framework bindings.
- Handles dynamic content by re-translating when the DOM changes — whether from React state updates, Vue reactivity, Angular change detection, or Turbo Drive navigation.
This means SiteLocaleAI works with any technology that produces HTML. If a browser can render it, SiteLocaleAI can translate it.