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!