Skip to main content


To get full image of working Angular integration check our Angular example application. To install Tolgee Angular integration library run:

npm install @tolgee/ngx --save

To install UI bundle for in-context translating you will also need to install package @tolgee/ui.

npm install @tolgee/ui --save

Then import Tolgee module in your module file app.module.ts:

import {NgxTolgeeModule} from "@tolgee/ngx";import {UI} from "@tolgee/ui";import {NgModule} from '@angular/core';import { environment } from '../environments/environment';

@NgModule({  declarations: [    ...  ],  imports: [    ...,    NgxTolgeeModule.forRoot({      apiUrl: environment.tolgeeApiUrl,      apiKey: environment.tolgeeApiKey,      ui: environment.tolgeeApiKey ? UI : undefined    }),...,],...,})export class AppModule {}

You can provide API key and API url directly, or you can use angular application environments.

That's it. Now you can use Tolgee for translating your strings.

Other configuration properties#

Configuration properties for all web integrations are similar. They are described in configuration section.