Add Italian translation (#904)

* Add Italian translation

* Add Italian language support to i18n
This commit is contained in:
albanobattistella
2026-07-20 13:14:31 -07:00
committed by GitHub
parent 4a6b5da793
commit 05d90790f8
2 changed files with 1276 additions and 0 deletions
+3
View File
@@ -7,6 +7,7 @@ import ptBR from './locales/pt-BR/translation.json';
import zhCN from './locales/zh-CN/translation.json';
import zhTW from './locales/zh-TW/translation.json';
import fr from './locales/fr/translation.json';
import it from './locales/it/translation.json';
export const SUPPORTED_LANGUAGES = [
{ code: 'en', label: 'English' },
@@ -15,6 +16,7 @@ export const SUPPORTED_LANGUAGES = [
{ code: 'zh-CN', label: '简体中文' },
{ code: 'zh-TW', label: '繁體中文' },
{ code: 'fr', label: 'Français' },
{ code: 'it', label: 'Italiano' },
] as const;
export type LanguageCode = (typeof SUPPORTED_LANGUAGES)[number]['code'];
@@ -30,6 +32,7 @@ i18n
'zh-CN': { translation: zhCN },
'zh-TW': { translation: zhTW },
fr: { translation: fr },
it: { translation: it },
},
fallbackLng: 'en',
supportedLngs: SUPPORTED_LANGUAGES.map((l) => l.code),
File diff suppressed because it is too large Load Diff