You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
1 week from now | |
---|---|---|
source | 1 week from now | |
tests | 1 week from now | |
.gitignore | 1 week from now | |
CHANGELOG.md | 1 week from now | |
LICENSE | 1 week from now | |
README.md | 1 week from now | |
dub.json | 1 week from now | |
dub.selections.json | 1 week from now |
README.md
D Google Translate Library
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"