LinguaLate is an advanced translation and text adaptation tool powered by Google's Gemini API. Unlike standard translators, LinguaLate allows you to specify the target CEFR (Common European Framework of Reference for Languages) level for your translation, ranging from A1 (Beginner) to C2 (Proficiency).
This makes it an ideal tool for language learners, teachers, and content creators who need text adapted to a specific difficulty level.
- CEFR Level Adaptation: Translate or rewrite text to match specific proficiency levels (A1.1 to C2).
- Multi-language Support: Supports a wide range of global languages including English, Spanish, French, German, Vietnamese, Ukrainian, and more.
- UI Localization: Interface available in English, Finnish, and Vietnamese.
- Dark/Light Mode: Fully responsive theme support.
- Same-Language Simplification: Can be used to simplify (or complicate) text within the same language (e.g., English -> English [A1]).
- Streaming Responses: Real-time text generation for a smooth user experience.
- Frontend: React 19, TypeScript, Tailwind CSS, Vite
- AI Model: Google Gemini 3 Flash (
gemini-3-flash-preview) - SDK:
@google/genai
Follow these instructions to set up the project locally.
- Node.js: Ensure you have Node.js installed on your machine.
- Google Gemini API Key: You need a paid or free tier API key from Google AI Studio.
- Visit Google AI Studio.
- Sign in with your Google account.
- Click on Get API key in the sidebar.
- Click Create API key.
- Copy the key string (it starts with
AIza...).
-
Clone the repository:
git clone https://github.com/Triamas/LinguaLate.git cd LinguaLate -
Create Environment File: Create a file named
.envin the root directory of the project. Add your API key to this file:API_KEY=your_actual_api_key_here
If you are on Windows, you can simply double-click the start_app.bat file in the project folder. This script will automatically:
- Pull the latest changes from Git.
- Install dependencies.
- Start the development server.
- Open your default browser to the app.
Open your terminal in the project directory and run:
# Install dependencies
npm install
# Start the development server
npm run devOpen your browser to the local server address shown in the terminal (usually http://localhost:5173).
- Select Languages: Choose your source language (or use Auto-detect) and your target language.
- Select Level: Choose the desired CEFR proficiency level (A1.1 - C2).
- Enter Text: Type or paste text into the left panel.
- Translate: Click "Translate" (or press
Ctrl + Enter). - Review: The adapted translation will stream into the right panel.
This tool uses Artificial Intelligence. While the CEFR adaptation is generally accurate, results may vary. Always verify important translations.