Archived
Template
1
Fork 0

Add Astro i18next

This commit is contained in:
get 2024-01-30 11:00:33 -05:00
parent 423c8cd1cc
commit 62615ff16c
No known key found for this signature in database
3 changed files with 27 additions and 0 deletions

5
astro-i18next.config.mjs Normal file
View file

@ -0,0 +1,5 @@
/** @type {import('astro-i18next').AstroI18nextConfig} */
export default {
defaultLocale: "en",
locales: ["en", "jp"],
}

View file

@ -0,0 +1,11 @@
{
"Header": {
"Flux": "Flux",
"Home": "Home",
"Products": "Products",
"Pricing": "Pricing",
"Support": "Support",
"Login": "Login",
"SignUp": "Sign Up"
}
}

View file

@ -0,0 +1,11 @@
{
"Header": {
"Flux": "Flux",
"Home": "ホーム",
"Products": "製品",
"Pricing": "価格設定",
"Support": "サポート",
"Login": "ログイン",
"SignUp": "サインアップ"
}
}