FLUTTER ECOSYSTEM

Persie0/SimplyTranslate-dart

Dart / Flutter용 간단한 번역 API

SimplyTranslate-dart 프로젝트 이미지
Stars
5
Forks
3
최근 푸시(UTC)
2025. 1. 12.
프로젝트 상태
활성
Persie0 GitHub avatar
GITHUB User

Persie0 ↗

Vienna University of TechnologyAustria공식 웹사이트 ↗
언어Dart

기술 주제

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 4 개

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

SimplyTranslate-dart

GitHub | Pub

Project info

A Dart package to translate text using SimplyTranslate, Lingva Translate, and LibreTranslate.

TTS is also supported.

SimplyTranslate and Lingva Translate are free and open-source alternatives to Google Translate (that make use of Google Translate under the hood).

LibreTranslate is a free and open-source alternative to Google Translate that uses a open-source translation engine.

Not working?

As I can't always update the instance list (instances are run by volunteers and can be turned off at any time), do one of the following:

  • fetch the working instances via fetchInstances (look at example code, corresponding project is here)
  • Search for new instances by googling "simplytranslate" or "lingva translate" and set the instance with setInstance = "instance"
  • lingva instances can also be found here

Adding the package to your project

To add this package to your project, add the following line to your pubspec.yaml file under dependencies:

simplytranslate: ^2.2.2

then import the package in your Dart file:

import 'package:simplytranslate/simplytranslate.dart';

Usage

Example code

Limitations

  • Max character length per request for Japanese, Chinese, and Korean is around 1250. For other languages, it's around 5000 due to different encoding results.

Apps using SimplyTranslate

  • Pareader - Learn languages with news articles in multiple languages and translate words with a simple tap.

Buy me a coffee

ko-fi

https://github.com/andreostrovsky/donate-with-paypal/raw/master/blue.svg

Credits

This package is based on Gabriel Pacheco's google-translator, distributed under the MIT License.

As Google has request limitations, SimplyTranslate provides a free and open-source alternative with Google Translation quality.