dgtl 0.0.1
D Google Translate Library
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
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"
- 0.0.1 released a year ago
- AlexanderZhirov/dgtl
- git.zhirov.kz/dlang/dgtl.git
- GPL-2.0
- Copyright © 2023, Alexander Zhirov
- Authors:
- Dependencies:
- none
- Versions:
-
0.0.1 2023-Jul-16 ~master 2023-Jul-16 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
0 downloads total
-
- Score:
- 0.3
- Short URL:
- dgtl.dub.pm