mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-04 05:01:37 +02:00
Added Italian localisation
This commit is contained in:
@@ -6,11 +6,13 @@ import LanguageDetector from 'i18next-browser-languagedetector';
|
||||
import en from './locales/en';
|
||||
import de from './locales/de';
|
||||
import ja from './locales/ja';
|
||||
import it from './locales/it';
|
||||
|
||||
const resources = {
|
||||
en: { translation: en },
|
||||
de: { translation: de },
|
||||
ja: { translation: ja },
|
||||
it: { translation: it },
|
||||
};
|
||||
|
||||
i18n
|
||||
@@ -19,7 +21,7 @@ i18n
|
||||
.init({
|
||||
resources,
|
||||
fallbackLng: 'en',
|
||||
supportedLngs: ['en', 'de', 'ja'],
|
||||
supportedLngs: ['en', 'de', 'ja', 'it'],
|
||||
|
||||
detection: {
|
||||
// Order of detection methods
|
||||
@@ -46,4 +48,5 @@ export const availableLanguages = [
|
||||
{ code: 'en', name: 'English', nativeName: 'English' },
|
||||
{ code: 'de', name: 'German', nativeName: 'Deutsch' },
|
||||
{ code: 'ja', name: 'Japanese', nativeName: '日本語' },
|
||||
{ code: 'it', name: 'Italian', nativeName: 'Italiano' },
|
||||
];
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user