diff --git a/astro-i18next.config.mjs b/astro-i18next.config.mjs new file mode 100644 index 0000000..a89adb5 --- /dev/null +++ b/astro-i18next.config.mjs @@ -0,0 +1,5 @@ +/** @type {import('astro-i18next').AstroI18nextConfig} */ +export default { + defaultLocale: "en", + locales: ["en", "jp"], +} \ No newline at end of file diff --git a/public/locales/en/translation.json b/public/locales/en/translation.json new file mode 100644 index 0000000..aab3fb3 --- /dev/null +++ b/public/locales/en/translation.json @@ -0,0 +1,11 @@ +{ + "Header": { + "Flux": "Flux", + "Home": "Home", + "Products": "Products", + "Pricing": "Pricing", + "Support": "Support", + "Login": "Login", + "SignUp": "Sign Up" + } +} \ No newline at end of file diff --git a/public/locales/jp/translation.json b/public/locales/jp/translation.json new file mode 100644 index 0000000..8e88562 --- /dev/null +++ b/public/locales/jp/translation.json @@ -0,0 +1,11 @@ +{ + "Header": { + "Flux": "Flux", + "Home": "ホーム", + "Products": "製品", + "Pricing": "価格設定", + "Support": "サポート", + "Login": "ログイン", + "SignUp": "サインアップ" + } +} \ No newline at end of file