mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 00:40:14 +01:00
* chore: remove comparisons * feat: use prompt caching for translations * chore: wip translation readme * i18n: korean translations * refactor: use promises for faster translation processing * refactor: update translation model to 'claude-3-5-sonnet-20241022' * refactor: optimize sleep duration for translation processing * i18n: add missing keys * refactor: standardize languages in their own respective languages * Refactor translation instructions in README.md |
||
|---|---|---|
| .. | ||
| anthropic.ts | ||
| comparisons.ts | ||
| embeddings.ts | ||
| file.ts | ||
| instructions.ts | ||
| keys.ts | ||
| main.ts | ||
| process.ts | ||
| README.md | ||
| scan.ts | ||
| streamAudioTest.ts | ||
| tsconfig.json | ||
Translations
Requirements:
- All dependencies installed, run
npm ciin the root directory. - bun: https://bun.sh/
ANTHROPIC_API_KEYin project root directory.envfile.
⚠️ Warning:
This script can be expensive, several dollars worth, even with prompt caching. It can also be slow if has not been ran in a while, with translations contributed.
Instructions:
- Main script: Run
bun config/translations/scan.tsfrom the root directory. - Observe translations being generated in all supported languages.
- Supported languages are localizations with general translation prompts:
- These prompts are directly found in
client/src/localization/prompts.
- These prompts are directly found in