Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rc4000 authored May 26, 2023
1 parent 8e3e248 commit 6372f49
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
# gtts-vlang
Google Text-to-Speech support for The V Programming Language


how to use:
```v
import gtts
fn main(){
gtts.save_to_file("Hello world", "en", "hello.mp3")!
// ↑ text ↑ language ↑ path
}
```

for the language you need to use the ISO-639 code,
here is a small list: <br>
see the full list at: https://cloud.google.com/translate/docs/languages


| Lenguaje | ISO-639 code |
|-----------|-----------|
| English | en |
Expand Down

0 comments on commit 6372f49

Please sign in to comment.