chatgpt-i18n
2023-3-10 23:22:9 Author: github.com(查看原文) 阅读量:41 收藏

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

chatgpt-i18n demo

download multi locale files

export-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, I am working on it.)

Deploy

Step 1. Create .env file with openai key

OPENAI_API_KEY=<your key>

Step 2. Install dependencies

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

文章来源: https://github.com/y35uishere/chatgpt-i18n
如有侵权请联系:admin#unsafe.sh