NewPipe icon indicating copy to clipboard operation
NewPipe copied to clipboard

Please build a translator into NewPipe.

Open Nope2333 opened this issue 1 year ago • 6 comments

Checklist

  • [X] I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • [X] I have read the FAQ and my problem isn't listed.
  • [X] I'm aware that this is a request for NewPipe itself and that requests for adding a new service need to be made at NewPipeExtractor.
  • [X] I have taken the time to fill in all the required details. I understand that the feature request will be dismissed otherwise.
  • [X] This issue contains only one feature request.
  • [X] I have read and understood the contribution guidelines.

Feature description

Why not integrate Google Translate or other translation tools into NewPipe to translate comments or subtitles? This built-in translator should be able to translate comments and even subtitles in real time.

Why do you want this feature?

There is no translation tool in the comment section within the app, and comment text does not support copying, which makes it impossible to translate comments in English or other languages ​​into Simplified Chinese or other languages. Second, adding a built-in translation tool can achieve real-time subtitle translation. This is very important, as some users, especially those in mainland China, are eager to use the real-time subtitle translation function.

Additional information

No response

Nope2333 avatar May 13 '24 16:05 Nope2333

and comment text does not support copying

Have you tried long-pressing it?

opusforlife2 avatar May 15 '24 04:05 opusforlife2

OK, I tried it again, and long pressing does work. But relatively speaking, it would be more convenient to have a built-in translation tool, like the one in Twitter.

Nope2333 avatar May 15 '24 07:05 Nope2333

Twitter is a web service, which handles everything for you. Newpipe is a client, and it will have to phone home to whatever translation service is used, every time. So fair warning that this likely won't be implemented because of privacy reasons.

opusforlife2 avatar May 15 '24 11:05 opusforlife2

Ok, but it's still inconvenient not to have a built-in translation tool like the Twitter Android client. I've used some third-party Twitter clients, and they also have third-party clients, probably because those clients use Twitter's API.

Nope2333 avatar May 16 '24 00:05 Nope2333

Again, that's all handled by Twitter's website. Those apps don't personally query translation services in order to fetch translations. They just tell Twitter "give me that translated text" and it does.

opusforlife2 avatar May 16 '24 01:05 opusforlife2

Google's translate app can run entirely offline once you install language packs and can be accessed from many apps by selecting text and pressing an added option in the context menu.

I agree accessing web services for this seems an irrelevant feature that isn't appropriate to implement directly in the app, but perhaps a compromise is allowing selection of comment text for the purpose of using the context menu for translation, or triggering the share menu. Long pressing a comment already triggers copy, which on newer android versions has the option to then share to another app as well.

Doc-4 avatar Jun 14 '24 22:06 Doc-4