Polkie language selector

This commit is contained in:
Carlos 2022-06-26 21:14:35 +02:00
parent abd8df6e14
commit 6c44709055
2 changed files with 2 additions and 1 deletions

View File

@ -65,5 +65,6 @@
<select [(ngModel)]="savedLanguage" (change)="onLanguageChanged()" class="form-select" aria-label="Language selector">
<option value="en">English</option>
<option value="es">Español</option>
<option value="pl">Polski</option>
</select>
</div>

View File

@ -20,7 +20,7 @@ export const HttpLoaderFactory = (http: HttpClient): TranslateHttpLoader => {
exports: []
})
export class LanguageModule {
readonly VALID_LANGUAGES = ["en", "es"];
readonly VALID_LANGUAGES = ["en", "es", "pl"];
constructor(private languageService: LanguageService) {
this.setup();