nuxt-google-translate
Version:
A simple Nuxt module that integrates the Google Translate widget into your Nuxt.js application, allowing seamless multilingual support without requiring an API key.
122 lines (82 loc) • 4.52 kB
Markdown
[](https://www.npmjs.com/package/nuxt-google-translate)
[](https://www.npmjs.com/package/nuxt-google-translate)
[](https://github.com/nexoscreation/nuxt-google-translate)
[](https://github.com/nexoscreation/nuxt-google-translate)
[](https://github.com/nexoscreation/nuxt-google-translate)
# 🚀 Nuxt Google Translate

> 🌍 Easily integrate Google Translate into your Nuxt 3 application with this powerful and customizable module.
## 🌟 Features
- 🌐 Seamless integration with Google Translate
- 🚀 Easy to set up and use
- 🎨 Customizable styling
- 🤩 Support 100+ Languages
- 🔧 Configurable default language and supported languages
## 🚀 Quick Start
Follow these steps to set up **Nuxt Google Translate** in your Nuxt project.
### 🔧 **Prerequisites**
- Ensure you have **Node.js** and **npm** installed.
- A Nuxt 3 project ready to go.
### ⚡ **Installation Steps**
1. **Install the Module**
Add the dependency to your project:
```bash
npm install nuxt-google-translate
```
3. **Use the Component**
Add the `<GoogleTranslate />` component to your app layout or `app.vue`:
```vue
<template>
<ClientOnly>
<GoogleTranslate />
</ClientOnly>
</template>
```
That's it! Your Nuxt app now supports multiple languages with Google Translate. 🎉
### 🎯 Usage
You can also use the `<LanguageSelector />` component for a dropdown menu to switch languages:
```vue
<template>
<div>
<LanguageSelector />
</div>
</template>
```
For more advanced configurations, check out the [📘 Full Documentation](https://nexoscreation.tech/docs/resources/google-translate). 🚀
## 🔗 Useful Links
[](https://nexoscreation.github.io/nuxt-google-translate/)
[](https://github.com/nexoscreation/nuxt-google-translate)
[](https://www.youtube.com/watch?v=vapgAOjdSMQ)
[](https://nexoscreation.tech/docs/resources/google-translate)
## 🤝 Contributing
We ❤️ contributions! Follow these steps to contribute:
1. 🍴 **Fork** the repository
2. 🌿 **Create** a new branch (`git checkout -b feature/AmazingFeature`)
3. 💾 **Commit** your changes (`git commit -m 'Add some AmazingFeature'`)
4. 🚀 **Push** to the branch (`git push origin feature/AmazingFeature`)
5. 🔃 **Open a Pull Request**
📖 _See our [Contribution Guidelines](CONTRIBUTING.md) for more details._
## 📄 License
This project is licensed under the **MIT License**. See the [LICENSE](LICENSE) file for details.
## 🙏 Acknowledgements
- [Google Translate](https://translate.google.com/) - For enabling seamless language translation.
- [Nuxt](https://nuxt.com/) - For providing a powerful framework for building web applications.
- The open-source community - For the amazing tools and contributions that make this module possible.
## 📬 **Contact & Community**
💬 Join us on **Discord**: [Click Here](https://discord.gg/H7pVc9aUK2)
🐦 **Follow on Twitter**: [@nexoscreation](https://twitter.com/nexoscreation)
📧 **Email**: [contact@nexoscreation.tech](mailto:contact@nexoscreation.tech)
<p align="center">
Made with ❤️ by the Nexos Creation Team
</p>
<p align="center">
<a href="https://github.com/nexoscreation/nuxt-google-translate/stargazers">⭐ Star us on GitHub!</a>
</p>