@ngneat/transloco
Version:
The internationalization (i18n) library for Angular
45 lines (42 loc) • 760 B
text/typescript
export enum Loaders {
Http = 'Http',
Webpack = 'Webpack'
}
export enum TranslationFileTypes {
Typescript = 'Typescript',
JSON = 'JSON'
}
export interface SchemaOptions {
/**
* The languages of the project.
*/
langs: string;
/**
* The languages of the project.
*/
loader: Loaders;
/**
* The translation files type.
*/
translateType: TranslationFileTypes;
/**
* The translation files folder.
*/
path: string;
/**
* The root module name.
*/
module: string;
/**
* The root project name.
*/
project: string;
/**
* If the user is working with server side rendering.
*/
ssr: boolean;
/**
* If the user is working with server side rendering.
*/
translocoKeysManager: boolean;
}