llmarb
Simple tool for generating Flutter translations in multiple languages using LLM.

Installation
go install github.com/hawier-dev/llmarb@latest
Usage
- Navigate to your Flutter project's directory containing
.arb files
- Run the application:
llmarb
- Click "Generate new languages" to add translations
- Select base language and target languages
- Configure LLM settings and generate
Configuration
Environment Variables
Set these environment variables before running:
export OPENAI_BASE_URL="https://api.openai.com/v1"
export OPENAI_API_KEY="sk-..."
export OPENAI_MODEL="gpt-4"
In-App Configuration
Alternatively, configure LLM settings directly in the app by clicking "Configure LLM" button in the generation dialog.
Features
- Generate translations for 100+ languages
- Remove excess keys from ARB files
- Real-time streaming of LLM responses
- Batch processing with progress tracking
- Support for OpenAI-compatible APIs
License
MIT