On this page
TRANSLATIONS_FORMAT
const experimental
| npm Package | @angular/core | 
|---|---|
| Module | import { TRANSLATIONS_FORMAT } from '@angular/core'; | 
     
| Source | core/src/i18n/tokens.ts | 
const TRANSLATIONS_FORMAT: any;
  Description
Provide this token at bootstrap to set the format of your TRANSLATIONS: xtb, xlf or xlf2.
See the i18n guide for more information.
Example
import { TRANSLATIONS_FORMAT } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app/app.module';
platformBrowserDynamic().bootstrapModule(AppModule, {
  providers: [{provide: TRANSLATIONS_FORMAT, useValue: 'xlf' }]
});
  © 2010–2018 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
 https://v5.angular.io/api/core/TRANSLATIONS_FORMAT