Skip to content

AnandMali/Translator

Repository files navigation

Translator

This project is a demonstration of using Gemini to detect spoken language and translate the spoken sentence into a selected language.

✨ Features

  • 🎤 Voice Input: Captures user speech for translation.
  • 🌐 Language Detection: Automatically identifies the source language.
  • 🤖 AI-Powered Translation: Uses the Gemini API for accurate translation.
  • 🔊 Text-to-Speech: Listen to the pronunciation of translated text.

🛠️ Tech Stack & Libraries

🚀 Getting Started

Prerequisites

  • Android Studio Koala (2024.1.1) or newer.
  • Android SDK 34+.
  • An API Key from Google AI Studio.

Setup Instructions

  1. Clone the Repository:

    git clone https://github.com/anandmali/Translator.git
    cd Translator
  2. Obtain Gemini API Key:

  3. Configure API Key:

    • Create a local.properties file in the root directory

    • Add the following line:

      GEMINI_API_KEY=your_api_key_here

About

An Android app using Gemini to translate spoken language in real-time.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages