feat(core): implement translation

This commit is contained in:
2025-08-27 17:05:51 +02:00
parent 8f1cf01f67
commit 890257c77e
12 changed files with 234 additions and 19 deletions

View File

@@ -7,10 +7,10 @@
<ul>
<li class="relative list-none flex flex-row gap-3">
<a routerLink="/" routerLinkActive="active" [routerLinkActiveOptions]="{ exact: true }">
Home
{{ 'common.home' | translate }}
</a>
<a routerLink="/about" routerLinkActive="active">
About
{{ 'common.about' | translate }}
</a>
</li>
</ul>
@@ -26,7 +26,9 @@
<fa-icon [icon]="faSun"/>
</div>
}
<div class="language size-[50px]">EN</div>
<div class="language size-[50px]" (click)="toggleLanguage()">
{{ translateService.getCurrentLang().toUpperCase() }}
</div>
</div>
</nav>