base_project

This commit is contained in:
2026-01-28 11:53:18 +00:00
commit e5af795674
1844 changed files with 120002 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
import { Component } from '@angular/core';
import { TranslateService } from '@ngx-translate/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
})
export class AppComponent {
title = 'angularclarity';
constructor(private translate: TranslateService) {
// Set the default language
this.translate.setDefaultLang('en');
}
switchLanguage(language: string) {
this.translate.use(language);
}
}