Awesome
chatgpt-i18n
Translate your locale files with AI Assistance.
Welcome to the ChatGPT + i18n app. This app is designed to help you translate your locale files with ease. Whether you are translating an application, website, or any other project that requires localization, it will make the process faster and more efficient.
I build this app because I was tired of using Google Translate to translate my locale files. I wanted to use a more efficient and accurate translation tool. ChatGPT, however, always break my json and cannot translate large contents. So I build this app to solve these problems. Hope you enjoy it.
Demo
Demo on Vercel translate
download multi locale files
Features
- Traslate your locale files with better experience.
- A web editor for better editing and viewing experience.
- Export multiple locale files at once.
- Seperate large json file into small chunks to avoid ChatGPT breaking json. (WIP: the service seems slow now, and sometimes break the limit of vercel FaaS, I am working on it.)
Deploy
Step 1. Create .env file with openai key
OPENAI_API_KEY=<your key>
Step 2. Install dependencies
npm install
Step 3. Build App
# forntend
npm run build
# backend
npm run server:build
Development
npm run server
# vercel dev (this contains both frontend and backend)
# localhost:3000