Lingvit

Translate your Angular app without @angular/localize

One script in index.html enables automatic translation across all components, lazy-loaded modules, and Angular Router views — with no changes to your component code.

What gets translated

  • Component templates
  • Angular Router views
  • Lazy-loaded feature modules
  • CDK and Material component text
  • Form validation messages
  • Dynamic content from HTTP calls

Setup guide

  1. Create a Lingvit project

    Sign up at app.lingvit.com and create a project. Add your application domain and select target languages.

  2. Add the script to src/index.html

    Open src/index.html and paste the Lingvit script before the closing </body> tag:

    <!-- src/index.html -->
    <body>
      <app-root></app-root>
      <script src="https://cdn.lingvit.com/widget/v1/widget.bundle.js" async></script>
    </body>
  3. Publish and deploy

    Run ng build and deploy. Angular Router navigation triggers Lingvit's MutationObserver automatically — all route changes and lazy-loaded module content are translated.

Frequently asked questions

Does it work with Angular Router lazy loading?

Yes. Lingvit uses a MutationObserver that fires when new DOM nodes appear — including content rendered by lazily loaded Angular modules or route guards.

Which Angular versions are supported?

Angular 12 and above, including Angular 17+ with standalone components. Lingvit works at the HTML output level, not the Angular runtime, so version differences don't affect compatibility.

Will it conflict with @angular/localize or i18n attributes?

No. If you already have @angular/localize compiling some strings, Lingvit translates whatever reaches the DOM. You can run both or migrate gradually.

Does it work with Angular Material components?

Yes. Angular Material renders standard HTML elements. Lingvit translates their visible text content including labels, placeholders, and aria attributes.

Start translating your Angular site

A monthly word generation allowance for new translations. Cached delivery uses no extra allowance.