diff --git a/frontend/src/locale/i18n.ts b/frontend/src/locale/i18n.ts index 6c170f80..8ebfaf71 100644 --- a/frontend/src/locale/i18n.ts +++ b/frontend/src/locale/i18n.ts @@ -3,6 +3,7 @@ import { initReactI18next } from 'react-i18next'; import en from './en.json'; //English import es from './es.json'; //Spanish +import jp from './jp.json'; //Japanese i18n.use(initReactI18next).init({ resources: { @@ -12,6 +13,9 @@ i18n.use(initReactI18next).init({ es: { translation: es, }, + jp: { + translation: jp, + }, }, }); diff --git a/frontend/src/settings/General.tsx b/frontend/src/settings/General.tsx index 377f8c37..6a4b1a93 100644 --- a/frontend/src/settings/General.tsx +++ b/frontend/src/settings/General.tsx @@ -32,6 +32,10 @@ const General: React.FC = () => { label: 'Spanish', value: 'es', }, + { + label: 'Japanese', + value: 'jp', + }, ]; const chunks = ['0', '2', '4', '6', '8', '10']; const token_limits = new Map([