パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v2.2.2

simplytranslate

無料で無制限のGoogle翻訳とTTS。高速かつプライベート。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
657
いいね数
39
Pub ポイント
150

パッケージをインストール

flutter pub add simplytranslate

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

SimplyTranslate は、Google 翻訳およびテキストから音声への変換(TTS)機能に無料で無制限にアクセスできる Flutter/Dart パッケージです。高速性とプライバシーを重視して設計されており、サードパーティの API に依存せずにアプリ内でのスムーズなローカリゼーションと国際化を実現します。Android、iOS、Web、macOS、Windows、Linux など複数のプラットフォームをサポートしており、リアルタイムの言語翻訳と音声出力が必要なクロスプラットフォームアプリに最適です。SimplyTranslate API を活用することで、最小限の遅延と使用制限なしを実現しています。

用途

  • リアルタイムアプリ翻訳
  • マルチリンガルユーザーインターフェース
  • テキストから音声への統合
  • オフライン対応の翻訳機能
  • クロスプラットフォームローカライゼーション

主な機能

  • 無料で無制限の翻訳
  • 組み込みTTSサポート
  • 高速かつプライベートなAPIアクセス
  • マルチプラットフォーム互換性
  • Flutter pub を通じた簡単な統合
  • APIキーは必要ありません

適している対象

  • 多言語アプリを開発する開発者
  • 即時翻訳が必要なアプリ
  • ユーザーのプライバシーを最優先するプロジェクト
  • クロスプラットフォームのモバイルおよびウェブアプリ
  • 教育またはアクセシビリティを重視したツール

注意事項

  • サードパーティのAPI(SimplyTranslate)に依存しています
  • 翻訳の品質は上流サービスに依存します
  • 翻訳エンジンのカスタマイズが限定的
  • 高セキュリティ翻訳要件には適していません
  • リアルタイムの結果を得るためにはネットワークに依存します

元の README

関連するソースリポジトリの 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

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.

カテゴリー

依存関係

依存関係一覧 1 件

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。