Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fizzywhizbang/gotranslate
a simple language translator using Golang and the Google Translate API
https://github.com/fizzywhizbang/gotranslate
go golang google google-api translate translation
Last synced: about 1 month ago
JSON representation
a simple language translator using Golang and the Google Translate API
- Host: GitHub
- URL: https://github.com/fizzywhizbang/gotranslate
- Owner: fizzywhizbang
- License: gpl-3.0
- Created: 2022-05-20T13:42:00.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-01T13:45:51.000Z (over 2 years ago)
- Last Synced: 2024-11-07T22:41:35.427Z (3 months ago)
- Topics: go, golang, google, google-api, translate, translation
- Language: Go
- Homepage:
- Size: 3.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gotranslate
simple package to translate a word or phrase
## Requirements
You'll need a Google cloud API key in key.txt under the cmd directory
or include your own however you like### Instructions
to test you can type under the cmd directory go run . -target=fr -source=en -phrase="eat my shorts"
or
Under the cmd directory
go build -o translate
./translate -target=fr -source=en -phrase="eat my shorts"or ./translate -langs=true to show all languages and their codes
Enjoy and happy translating