chatgpt-i18n  by ObservedObserver

Web app for AI-assisted website localization

created 2 years ago
811 stars

Top 44.5% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides an AI-powered web application for localizing website locale files, targeting developers and content creators who need efficient and accurate translations. It aims to overcome limitations of existing tools like Google Translate and direct ChatGPT API usage by offering a structured approach to handle large JSON files and provide a better editing experience.

How It Works

The application leverages AI for translation, specifically addressing issues with ChatGPT breaking JSON structures or failing on large content. It achieves this by splitting large locale files into smaller chunks before sending them for translation, mitigating API limitations and ensuring data integrity. A web-based editor is included for improved viewing and editing of translated files.

Quick Start & Requirements

  • Install: npm install
  • Prerequisites: OpenAI API key (set in .env file as OPENAI_API_KEY=<your key>).
  • Build: npm run build (frontend), npm run server:build (backend).
  • Development: npm run server and vercel dev.
  • Demo: Available on Vercel.

Highlighted Details

  • AI-assisted translation for locale files.
  • Web editor for enhanced editing and viewing.
  • Exports multiple locale files simultaneously.
  • Chunks large JSON files to prevent API errors.

Maintenance & Community

No specific contributors, sponsorships, or community links (Discord/Slack) are mentioned in the README.

Licensing & Compatibility

The license is not specified in the README. Compatibility for commercial use or closed-source linking is undetermined.

Limitations & Caveats

The project is marked as "WIP" (Work In Progress). The service is noted as potentially slow and may hit Vercel FaaS limits, with ongoing work to address these issues.

Health Check
Last commit

1 year ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
6 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.