Apply i18n

This commit is contained in:
Takeshi Kimata
2024-05-05 21:20:56 +09:00
parent 03560f8d17
commit ac9af2d604
15 changed files with 79 additions and 134 deletions

View File

@@ -4,7 +4,7 @@ import { useTranslations } from "next-intl";
export default function Page(params: { locale }) {
const t = useTranslations("Projects");
const messages = {
projects: t("projects"),
projectList: t("projectList"),
project: t("project"),
newProject: t("new_project"),
editProject: t("edit_project"),