feat: Add Japanese translation support fix

pull/987/head
Alex 4 months ago
parent eed974b883
commit 75c6c6081a

@ -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,
},
},
});

@ -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([

Loading…
Cancel
Save