Show HN: I built an open-source Google translate widget

5 ykjs 3 6/16/2025, 6:17:58 PM github.com ↗

Comments (3)

ykjs · 4h ago
Hey HN! The easiest and fastest way to get a localized website was to add a single line for the Google Translate Widget script in your head tag.

Unfortunately, the Google widget was deprecated and has never been updated to match the modern standards of sites like React frameworks and many more. While the translation quality, especially, has lagged compared to where we are with AI today.

So I built the a open source translation widget that you can do a quick one script add and translate your website to 100+ languages. Comes with other fancy features like local storage caching, react page change watches, etc so you get the full package out of the box.

not_your_vase · 3h ago
The animation looks nice. I was curious how it uses Google translate, without any api keys and stuff, it's not unheard that google blocks unauthorized users... The title claims Google translate, but the code seems to call

  https://api.jigsawstack.com/v1/ai/translate
and it also seems to require a separate API key. Which is fine, but it's not google translate (though not saying that this is a bad thing... just a statement of fact)
ykjs · 3h ago
It doesn't, it's a google translate widget alternative which is Open Source. Google deprecated their translate widget hence you can't really use google translate for this use case. So it's an open source framework that uses another translation service that can support this widget on the front end with the right security controls to prevent spam, etc.

The first comment explains the full story.