Locale translate and vercel deploy
Unanswered
Exotic Shorthair posted this in #help-forum
Exotic ShorthairOP
Hello, I am developing an application using Next.js and i18n for translation. I have a question and also a problem. For the translations to work, there must be a locale folder with subfolders for each language. I created a CMS on a new route that creates JSON files in the locale/lang1 and locale/lang2 folders depending on the language selected by the admin. Admin can create, edit, and delete files as they wish. My question is: If I deploy on Vercel from GitHub and the admin creates files from the CMS, will these files be deleted with the next push from Git? And if the answer is yes, what solution do I have to implement translation with i18n and file creation in the locale?