intellism / vscode-comment-translate

vscode 注释翻译插件, 不干扰正常代码,方便快速阅读源码。
https://marketplace.visualstudio.com/items?itemName=intellsmi.comment-translate
MIT License
484 stars 77 forks source link

Add option to select source language #174

Closed vkhobor closed 5 months ago

vkhobor commented 1 year ago

I would like to set the source language not just the target language. Is this possible?

I am looking at a German file that I would like to translate to English. The problem is these cases

Auto -> English translation thinks these are already english words.

If there would be a setting for input language it would be nice.

intellism commented 1 year ago

Sure, it's possible. We will add a new configuration option for this in the near future.

intellism commented 1 year ago

The configuration option you requested has been added in version 2.3.1. commentTranslate.sourceLanguage

vkhobor commented 1 year ago

Thank you