Polkie language selector
This commit is contained in:
parent
abd8df6e14
commit
6c44709055
@ -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>
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user