bbepis / XUnity.AutoTranslator

MIT License
2.01k stars 293 forks source link

Allow DeepLTranslator supports `auto` #525

Closed jasl closed 5 months ago

jasl commented 7 months ago

According to https://developers.deepl.com/docs/api-reference/translate/openapi-spec-for-text-translation

source_lang is optional, and DeepL will auto-detect language if it's not given.

Note: I don't have Unity or C# development environment, so I can't compile it, but the code is simple