Skip to content

freakspace/chatgpt-po-i18-translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.po translations using ChatGPT

A simple script to translate .po files using ChatGPT.

Features

  • Calculate tokens
  • Simple CLI
  • Translate and save directly to .po file

Prerequisites

  • Python 3.11
  • OpenAPI API key

Installation

  1. Clone the repository:
git clone https://git@github.com:freakspace/chatgpt-po-i18-translator.git
cd chatgpt-po-i18-translator
  1. Install the required dependencies:
pip install

Configuration

  1. Create .env in the root and add variables "OPENAPI_KEY"

Usage

  1. Create a folder in root named /in
mkdir in
  1. Add your .po files to the /in folder

  2. Run the script and follow the instructions

python app.py

About

A script to translate .po files using ChatGPT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages