simplytranslate
免費且無限的谷歌翻譯和語音合成。快速且私密。
Dart / Flutter 的一個簡單翻譯 API
以下為英文專案原文快照,最新內容請造訪 GitHub。
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.
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:
fetchInstances (look at example code, corresponding project is here)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';
https://github.com/andreostrovsky/donate-with-paypal/raw/master/blue.svg
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.