Closed ivaquero closed 5 months ago
Hey, I don't understand the requirement. We cannot have "Translate into X" for every language in the world, so how do you envisage it will work?
Many thanks,
I expect it provides with translation of major language (French, Spanish, Chinese, Russian, etc) to English.
I means the extension can add one or two new prompt templates to call LLM like OpenAI or Ollama's Gemma to do this job. For example translate {A} to English, and we can specify {A} in settings.
Thanks for the reply, do you think it would be best to just add some custom templates?
The reason I would like to have a predefined template is that I am not expertise write a template, more specifically, I think {language} means a programming language rather than a natural language, and I tried to write a custom template but it seemed the comments doesn't fit {code}.
This can be achieved with template system, and not viable unfortunately for right click menu.
Is your feature request related to a problem? Please describe. Comments Translation is helpful for non-English developers to translate their comments into English.
Describe the solution you'd like Add a default option of translation in Right Click Context Menu.
Describe alternatives you've considered There are several AI translation extensions based on OpenAI, but I think it can be done by Ollama.
Additional context No.