Skip to content
pubscout

simplytranslate

2.2.2, released 2 years ago by an unverified publisher

Translate text and use TTS via SimplyTranslate, Lingva Translate, and LibreTranslate.

WASM-ready
$ flutter pub add simplytranslate
Source repository

What it does

Provides a Dart interface to translate text using alternative translation frontends like SimplyTranslate, Lingva Translate, and LibreTranslate. It also supports text-to-speech (TTS) and instance management.

AI-written summary of version 2.2.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want to translate text using open-source alternatives to Google Translate.
  • You need text-to-speech (TTS) capabilities in your application.

Skip it when

  • You require an official Google Translate API with guaranteed uptime and SLAs.
  • You cannot configure or supply a custom remote URL for working instances.

Strengths

  • Supports multiple open-source translation engines (SimplyTranslate, Lingva, LibreTranslate).
  • Includes TTS support.
  • Allows fetching and testing working instances.

Weaknesses

  • Public instances are removed due to misuse, requiring you to set a custom remote URL.
  • Instance availability depends on third-party volunteers and can change at any time.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
1
import 'package:simplytranslate/simplytranslate.dart';

void main() async {
  final SimplyTranslate translator = SimplyTranslate();
  Translation translation = await translator.tr('Hello World', to: 'de');
  print(translation.translatedText);
}

Alternatives

Packages that do the same job and could replace simplytranslate.