Ajay Mahadeven
Google Translate Language Switcher

Google Translate Language Switcher

Ajay Mahadeven·London, UK·MIT License·2024-08-08

The GoogleTranslator component dynamically loads the Google Translate script and initializes a translation widget, allowing users to translate the content of your app into their preferred language. Integrated with the LanguageSwitcher component, a simple button toggles the visibility of the translation widget.

Technologies

ReactTailwindCSSNext.jsTypescript

Languages

Typescript