starik222 / BooruDatasetTagManager

MIT License
1.45k stars 124 forks source link

About adding translation function #110

Closed 1dadou1 closed 10 months ago

1dadou1 commented 10 months ago

Is it possible to implement an automatic translation from the native language to English when adding new tags? Alternatively, adding a translation button in the tag input area could save a lot of time while entering tags. This could be achieved by integrating a translation API, where users can apply for their own API key to enable the translation feature. Currently, there are many translation APIs available, such as BaiduTranslator, DeeplTranslator, QcriTranslator, DetectLanguage, ChatGptTranslator, AliTranslation, etc.

starik222 commented 10 months ago

Honestly, I don't see the point in this. The editor has a function for translating tags from English into the selected language to facilitate their editing. You can also translate tags in the auto-completion list. You can set up a search for tags in the auto-completion list by translation. WDTagger, Blip and other autotaggers generate text in English. If you want to write texts in your native language and translate them into English, then this is much easier to do in the interface of the translator itself.