✨ Integrated hungarian language
This commit is contained in:
@@ -17,6 +17,7 @@ import pl from './locales/pl.json';
|
|||||||
import pt from './locales/pt.json';
|
import pt from './locales/pt.json';
|
||||||
import uk from './locales/uk.json';
|
import uk from './locales/uk.json';
|
||||||
import nl from './locales/nl.json';
|
import nl from './locales/nl.json';
|
||||||
|
import hu from './locales/hu.json';
|
||||||
// import uz from './locales/uz.json'
|
// import uz from './locales/uz.json'
|
||||||
// import zh_Hans from './locales/zh_Hans.json';
|
// import zh_Hans from './locales/zh_Hans.json';
|
||||||
import LanguageDetector from 'i18next-browser-languagedetector';
|
import LanguageDetector from 'i18next-browser-languagedetector';
|
||||||
@@ -77,6 +78,7 @@ export class I18nService {
|
|||||||
this.i18n.addResourceBundle('pt', 'translation', pt);
|
this.i18n.addResourceBundle('pt', 'translation', pt);
|
||||||
this.i18n.addResourceBundle('uk', 'translation', uk);
|
this.i18n.addResourceBundle('uk', 'translation', uk);
|
||||||
this.i18n.addResourceBundle('nl', 'translation', nl);
|
this.i18n.addResourceBundle('nl', 'translation', nl);
|
||||||
|
this.i18n.addResourceBundle('hu', 'translation', hu);
|
||||||
// this.i18n.addResourceBundle('uz', 'translation', uz);
|
// this.i18n.addResourceBundle('uz', 'translation', uz);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
SPDX-FileCopyrightText: 2023 Marlon W (Mawoka)
|
||||||
|
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
@@ -128,6 +128,11 @@ SPDX-License-Identifier: MPL-2.0
|
|||||||
code: 'nl',
|
code: 'nl',
|
||||||
name: 'Nederlands',
|
name: 'Nederlands',
|
||||||
flag: '🇳🇱'
|
flag: '🇳🇱'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
code: "hu",
|
||||||
|
name: "Magyar",
|
||||||
|
flag: '🇭🇺'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
const get_selected_language = (): string => {
|
const get_selected_language = (): string => {
|
||||||
|
|||||||
Reference in New Issue
Block a user