feat: modernized web application

This commit is contained in:
2026-03-31 15:21:08 +09:00
parent f7019403c4
commit 7e07c7ea99
48 changed files with 1569 additions and 103 deletions

22
nextjs/src/i18n/client.ts Normal file
View File

@@ -0,0 +1,22 @@
'use client';
import i18n from 'i18next';
import { initReactI18next } from 'react-i18next';
import en from './en.json';
import ja from './ja.json';
if (!i18n.isInitialized) {
i18n.use(initReactI18next).init({
fallbackLng: 'ja',
resources: {
en: { translation: en },
ja: { translation: ja },
},
interpolation: {
escapeValue: false,
},
});
}
export default i18n;