### File

`projects/commons/src/lib/core/translates/translate.module.ts`

### Methods

Static forRoot
`forRoot()`
Defined in projects/commons/src/lib/core/translates/translate.module.ts:16
Returns : `ModuleWithProviders`

    import { ModuleWithProviders, NgModule } from '@angular/core';
    import { TranslateModule as NgxTranslateModule } from '@ngx-translate/core';

    import { TranslateLoaderModule } from './translate-loader.module';

    @NgModule({
        imports: [
            NgxTranslateModule,
        ],
        exports: [
            NgxTranslateModule,
        ],
    })

    export class TranslateModule {
        public static forRoot(): ModuleWithProviders {
            return {
                ngModule: TranslateLoaderModule,
                providers: [],
            };
        }
    }

# result-matching ""

# No results matching ""