btcpayserver-translator/Translator/env.example
Tim 45850a03d3
Some checks failed
Tests / unit-tests (push) Has been cancelled
[Feature] Add unit tests & CI workflow (#49)
Co-Authored-By: Timothé <183613235+teamssUTXO@users.noreply.github.com>
Co-authored-by: teamssUTXO <teamssUTXO@users.noreply.github.com>
Co-authored-by: r1ckstardev <r1ckstardev@users.noreply.github.com>
2026-04-25 16:37:14 -05:00

24 lines
962 B
Plaintext

# BTCPay Translator Configuration
# Copy this file to .env and fill in your actual values
# OpenRouter API Configuration
OPENROUTER_API_KEY=your_openrouter_api_key_here
OPENROUTER_MODEL=google/gemma-2-9b-it:free
OPENROUTER_BASE_URL=https://openrouter.ai/api/v1
OPENROUTER_SITE_NAME=BTCPayTranslator
OPENROUTER_APP_NAME=https://github.com/btcpayserver/btcpayserver
# Translation Configuration
TRANSLATION_BATCH_SIZE=50
TRANSLATION_MAX_RETRIES=3
TRANSLATION_DELAY_BETWEEN_REQUESTS=1000
TRANSLATION_INPUT_FILE=../BTCPayServer/Services/Translations.Default.cs
TRANSLATION_OUTPUT_DIRECTORY=translations
# BTCPay Server URL (optional)
# Set this to fetch translations from a running BTCPay Server in debug/cheat mode
# instead of parsing Translations.Default.cs from GitHub.
# This captures ALL strings, including those registered via Dependency Injection.
# Requires BTCPay Server to be started with cheatmode=true.
# TRANSLATION_BTCPAY_URL=http://localhost:14142