feat(i18n): enhance localization support with new languages(zh-tw/ja)

This commit is contained in:
beilunyang
2025-10-21 23:53:58 +08:00
parent 0c7a4d84a5
commit 7398b73f3f
20 changed files with 915 additions and 97 deletions
+1 -2
View File
@@ -70,7 +70,7 @@ export async function generateMetadata({
},
openGraph: {
type: "website",
locale: locale === "zh-CN" ? "zh_CN" : locale,
locale: locale === "zh-CN" ? "zh_CN" : locale === "zh-TW" ? "zh_TW" : locale,
url: `${baseUrl}/${locale}`,
title: t("title"),
description: t("description"),
@@ -145,4 +145,3 @@ export default async function LocaleLayout({
)
}