Custom Static Site Generator that's able to translate the text in a word file using Google Translate API. Specifiy the language of the text in the text file with the extension of ".txt", ".docx", ".odt", ".rtf" and specify what langauge you want to translate to.
- github.com/bregydoc/gtranslate
Command to run program specifying the language of the text file and what language you want to translate to.
./makeutility -file=(insert text/word file) -language=(insert abbreviation) -translated=(insert abbreviation)
Language | abbre |
---|---|
Afrikaans | af |
Irish | ga |
Albanian | sq |
Italian | it |
Arabic | ar |
Japanese | ja |
Azerbaijani | az |
Kannada | kn |
Basque | eu |
Korean | ko |
Bengali | bn |
Latin | la |
Belarusian | be |
Latvian | lv |
Bulgarian | bg |
Lithuanian | lt |
Catalan | ca |
Macedonian | mk |
Chinese Simplified | zh-CN |
Malay | ms |
Chinese Traditional | zh-TW |
Maltese | mt |
Croatian | hr |
Norwegian | no |
Czech | cs |
Persian | fa |
Danish | da |
Polish | pl |
Dutch | nl |
Portuguese | pt |
English | en |
Romanian | ro |
Esperanto | eo |
Russian | ru |
Estonian | et |
Serbian | sr |
Filipino | tl |
Slovak | sk |
Finnish | fi |
Slovenian | sl |
French | fr |
Spanish | es |
Galician | gl |
Swahili | sw |
Georgian | ka |
Swedish | sv |
German | de |
Tamil | ta |
Greek | el |
Telugu | te |
Gujarati | gu |
Thai | th |
Haitian Creole | ht |
Turkish | tr |
Hebrew | iw |
Ukrainian | uk |
Hindi | hi |
Urdu | ur |
Hungarian | hu |
Vietnamese | vi |
Icelandic | is |
Welsh | cy |
Indonesian | id |
Yiddish | yi |
source: https://www.labnol.org/code/19899-google-translate-languages