mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2026-01-06 17:57:11 +00:00
19 lines
563 B
TypeScript
19 lines
563 B
TypeScript
import { Component } from '@angular/core';
|
|
import { FuseTranslationLoaderService } from '../../../core/services/translation-loader.service';
|
|
|
|
import { locale as english } from './i18n/en';
|
|
import { locale as turkish } from './i18n/tr';
|
|
|
|
@Component({
|
|
selector : 'fuse-sample',
|
|
templateUrl: './sample.component.html',
|
|
styleUrls : ['./sample.component.scss']
|
|
})
|
|
export class FuseSampleComponent
|
|
{
|
|
constructor(private translationLoader: FuseTranslationLoaderService)
|
|
{
|
|
this.translationLoader.loadTranslations(english, turkish);
|
|
}
|
|
}
|