1
1 Comment

Does someone know an Open API for translation from the client-side?

Does someone know an Open API for translation from the client-side?

Here is a Nodejs package I found - https://www.npmjs.com/package/google-translate-api-v2

but it can't be used in react...

Is there a way I can use that package or any different one you familiar with that I can use?

Thanks!!

  1. 1

    If I remember correctly, the official Google Translate API is paid, meaning you need to authenticate against it using your secret token which will then also make sure the requests are billed to you. As such, you cannot use that API from the client side, or else there's nothing to prevent people from stealing your token and calling the API with your billing account.

Trending on Indie Hackers
Getting first 908 Paid Signups by Spending $353 ONLY. 25 comments I talked to 8 SaaS founders, these are the most common SaaS tools they use 20 comments What are your cold outreach conversion rates? Top 3 Metrics And Benchmarks To Track 19 comments How I Sourced 60% of Customers From Linkedin, Organically 12 comments Hero Section Copywriting Framework that Converts 3x 12 comments Promptzone - first-of-its-kind social media platform dedicated to all things AI. 8 comments