Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/observedobserver/chatgpt-i18n

Localize your websites with AI assistance.
https://github.com/observedobserver/chatgpt-i18n

ai chatgpt chatgpt-i18n frontend gpt i18n i18n-ai

Last synced: 7 days ago
JSON representation

Localize your websites with AI assistance.

Awesome Lists containing this project

README

        

# chatgpt-i18n

![](https://img.shields.io/github/actions/workflow/status/ObservedObserver/chatgpt-i18n/auto-build.yml)
![](https://img.shields.io/github/license/observedobserver/chatgpt-i18n?color=black)

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](https://www.i18n.ing/)
translate

![chatgpt-i18n demo](https://user-images.githubusercontent.com/22167673/224185217-a32406fd-740c-4ced-b86c-55b2b895dc12.png)

download multi locale files

![export-locale-files](https://user-images.githubusercontent.com/22167673/224073592-77bffd43-7422-40d2-984d-cfe95079ceb0.png)

## Features
- [x] Traslate your locale files with better experience.
- [x] A web editor for better editing and viewing experience.
- [x] Export multiple locale files at once.
- [x] 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
```bash
OPENAI_API_KEY=
```

Step 2. Install dependencies
```bash
npm install
```

Step 3. Build App

```bash
# forntend
npm run build
# backend
npm run server:build
```

## Development

```bash
npm run server
# vercel dev (this contains both frontend and backend)
# localhost:3000
```