Today's Work: i18n Support Across All Pages and Netlify Deployment Troubleshooting
Today, I completed the internationalization (i18n) support for all pages, including creating the necessary translation files (e.g., ja.json
and en.json
).
Netlify Deployment Error and Diagnosis
While attempting to deploy the project to Netlify, I encountered a build error caused by a type mismatch in the file src/app/[locale]/layout.tsx
.
Error Details:
- The
params
property was expected to be aPromise<any>
, but aRecord<string, string>
was provided. - This caused the Next.js build to fail, stopping the deployment process.
Despite this issue being unresolved, progress is ongoing.
Tomorrow's Plan
- Continue debugging and fixing the Netlify deployment error.
- Adjust the design of buttons that display vertically in Japanese (vertical text), and rotate English buttons 90 degrees clockwise for a better UX.
This project is progressing steadily, with multilingual support shaping up well, and deployment hurdles actively being addressed.
tags: nextjs, i18n, netlify, typescript, frontend, portfolio
Top comments (0)