tbakerx / react-resume-template

A personal resume website template built with React.js, Typescript, Next.js, and styled with Tailwind css
https://reactresume.com
MIT License
1.88k stars 1.43k forks source link

Possibility of i18n integration #136

Closed edamame852 closed 4 months ago

edamame852 commented 5 months ago

I'm fairly new when it comes to using next.js and react, and I was searching around for documents and tried implementing i18n as part of continuing your work but a lot of the setup requires adding middleware and other configs under app/ or src/.

For your project, everything seems to be rendered under index.tsx.

Can anyone give me some advice on how I can implement this? Tysm!

edamame852 commented 4 months ago

Hi all, for those that are interested in this i18next implemention, I have found out a solution.

If we directly implement i18next with react-resume-template, it will not be able to be deployed to any static web host, which inlcudes github pages.

I've found a solution online that someone reconfigured nextjs and have it integrated with i18next, so when nextjs complies and exports, it can still be deployed to a static web host.

This repo helped me out tremendously: https://github.com/xairoo/nextjs-i18n-static-page-starter?tab=readme-ov-file

Since the issue was resolved, so I'll go ahead and close this issue.