Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Allow unsupported languages for api > since llm probably supports them

Aperta
#4 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
rust
Ambito
api

Direzione di ricerca

Inizia tracciando la convalida dell’API che restituisce l’errore di lingua non supportata ed esamina il file delle lingue di cui l’issue menziona la modifica. Verifica la richiesta di esempio in turkmeno e conferma che le destinazioni non supportate possono essere accettate senza modificare l’elenco delle lingue sorgente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

Instead of giving

{
	"error": "tk is not supported"
}

for unsupported languages, what about just allowing them when using the api? Its easier than expanding the language file for every language, and the llm probably supports them :)

example query for Turkmen:

{
		"q": "good morning sir",
		"source": "en",
		"target": "tk",
		"format": "text",
		"api_key": ""
	}

I did try adding to the languages file, rebuilding, and running, and that works no problem... but it would be cool not to need to modify the source when pulling the latest :)

Its pretty cool, thanks!

Lingua principale
Rust
Stelle
204
Fork
32
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di LibreTranslate/LTEngine

Tutte le issue di LibreTranslate/LTEngine

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.