azure_translation 0.1.1 copy "azure_translation: ^0.1.1" to clipboard
azure_translation: ^0.1.1 copied to clipboard

A Dart wrapper for interacting with Azure's translation API.

example/README.md

To run these examples, you need to create a .env file in whatever directory you execute from. The .env should have the following variables:

AZURE_KEY=YOUR_AZURE_KEY
AZURE_REGION=YOUR_AZURE_REGION

Translate #

dart example/translate.dart 'hello world' banana bonjour =>

hello world: [vi: Chào thế giới, zh-Hans: 世界您好, ru: Всем привет]
banana: [vi: chuối, zh-Hans: 香蕉, ru: банан]
bonjour: [vi: Xin chào, zh-Hans: 你好, ru: Привет]

You can change the target languages in the script.

Detect #

dart example/detect.dart unambiguous wiedervereinigung zmaj 'chuột túi' =>

unambiguous: en (1.0)
wiedervereinigung: de (1.0)
zmaj: hr (1.0)
chuột túi: vi (1.0)
3
likes
0
pub points
40%
popularity

Publisher

verified publisheralxbkr.xyz

A Dart wrapper for interacting with Azure's translation API.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

elegant, http

More

Packages that depend on azure_translation