Skip to content

AlexanderZhirov/dgtl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

D Google Translate Library

license main githab dub linux

The library is a simple translator based on using an HTTP GET method request in Google Translate.

Quick start

import dgtl;
import std.stdio;

void main()
{
    auto dgtl = new DGTL;

    dgtl.lang.source.en;
    dgtl.lang.target.de;

    string text = "Text intended for translation into German";

    dgtl.translate(text).writeln;
}

DUB

Add a dependency on "dgtl": "~>0.0.1"

About

D Google Translate Library (this repository is just a mirror)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages