Skip to content

Releases: CWH-Studio/translator

3.1

Choose a tag to compare

@sky06walker sky06walker released this 26 Apr 05:51

Full Changelog: 2.2...3.1

2.2

2.2

Choose a tag to compare

@sky06walker sky06walker released this 04 Feb 09:09
  • Improved translation stability. (Alternatives: Enhanced translation reliability / Optimized translation engine)
  • Updated application icon. (Using "Application" or "App" is more standard than "APK" in public notes)
  • Codebase optimization and cleanup. (Sounds more professional than "removing code")

2.0

2.0

Choose a tag to compare

@sky06walker sky06walker released this 28 Nov 09:54

Remove dependency of paid ai model.

Full Changelog: 1.0...2.0

1.0

1.0

Choose a tag to compare

@sky06walker sky06walker released this 03 Nov 03:23

This release introduces the Multilingual Translator, a versatile application designed to provide seamless translations between English, Malay, and Chinese. The application is built with a modern technology stack, ensuring a high-quality user experience on both web and mobile platforms.

Key Features:

  • Multilingual Translation: The core feature of the application is its ability to translate words and phrases between English, Malay, and Chinese. The application automatically detects the source language and provides translations in the other two languages.
  • Text-to-Speech: To aid in pronunciation, the application includes a text-to-speech feature that allows users to listen to the translated words and example sentences.
  • Cross-Platform Compatibility: The application is built with Capacitor, allowing it to be deployed as a web application and a native Android application from a single codebase.

Technical Overview:

The application's architecture is composed of a React-based frontend, a set of serverless backend functions, and the Google Gemini API for translation and text-to-speech services.

  • Frontend: The user interface is built with React and Vite, providing a fast and responsive user experience. The main application component, App.tsx, manages user input, displays translation results, and handles audio playback.
  • Backend: The backend is powered by Cloudflare Workers, which provide a serverless environment for the application's API. The backend consists of three main functions:
    • dictionary-lookup.ts: This function takes a word or phrase, detects its language, and returns translations for the other two supported languages, along with example sentences.
    • text-to-speech.ts: This function converts text into speech, supporting all three languages.
    • translate.ts: This function provides a direct translation between a specified source and target language.
  • AI Services: The application leverages the Google Gemini API for its translation and text-to-speech capabilities, ensuring high-quality and accurate results. The geminiService.ts file manages the communication between the frontend and the backend services.

This combination of technologies allows the Multilingual Translator to be a powerful and versatile tool for users who need to communicate across different languages.