Translates text from a language to all available languages
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
bin.js
index.js
package-lock.json
package.json

README.md

power-translate

Translates text from a language to all available languages

npm install -g power-translate
power-translate "$GOOGLE_CLOUD_TRANSLATE_API_KEY" "$FROM_LANGUAGE" "$FROM_TEXT"

e.g. this command:

power-translate "$GOOGLE_CLOUD_TRANSLATE_API_KEY" en "Hello World"

will result in:

Afrikaans: Hello Wêreld
Albanian: Përshendetje Botë
Amharic: ሰላም ልዑል
Arabic: مرحبا بالعالم
Armenian: Բարեւ աշխարհ
Azerbaijani: Salam Dünya
Basque: Kaixo Mundua
Belarusian: Прывітанне Сусвет
Bengali: ওহে বিশ্ব
Bosnian: Hello World
Bulgarian: Здравей свят
Catalan: Hola món
Cebuano: Hello World
Chichewa: Moni Dziko Lapansi
Chinese (Simplified): 你好,世界
Chinese (Traditional): 你好,世界
Corsican: Hello World
Croatian: Pozdrav svijete
Czech: Ahoj světe
Danish: Hej Verden
Dutch: Hallo Wereld
English: Hello World
Esperanto: Saluton mondo
Estonian: Tere, Maailm
Filipino: Hello World
Finnish: Hei maailma
French: Bonjour le monde
Frisian: Hallo wrâld
Galician: Ola mundo
Georgian: გამარჯობა მსოფლიო
German: Hallo Welt
Greek: Γειά σου Κόσμε
Gujarati: હેલો વર્લ્ડ
Haitian Creole: Alo Mondyal
Hausa: Sannu Duniya
Hawaiian: Hello Aloha
Hebrew: שלום עולם
Hindi: नमस्ते दुनिया
Hmong: Nyob zoo lub ntiaj teb
Hungarian: Helló Világ
Icelandic: Halló heimur
Igbo: Ndewo Ụwa
Indonesian: Halo Dunia
Irish: Dia duit an Domhain
Italian: Ciao mondo
Japanese: こんにちは世界
Javanese: Hello World
Kannada: ಹಲೋ ವರ್ಲ್ಡ್
Kazakh: Сәлем Әлем
Khmer: សួស្តី​ពិភពលោក
Korean: 안녕하세요 세계
Kurdish (Kurmanji): Hello World
Kyrgyz: салам дүйнө
Lao: ສະ​ບາຍ​ດີ​ຊາວ​ໂລກ
Latin: salve Orbis Terrarum
Latvian: Sveika pasaule
Lithuanian: Labas pasauli
Luxembourgish: Moien Welt
Macedonian: Здраво свету
Malagasy: Hello World
Malay: Hai dunia
Malayalam: ഹലോ വേൾഡ്
Maltese: Hello dinja
Maori: Hello World
Marathi: हॅलो वर्ल्ड
Mongolian: Сайн уу
Myanmar (Burmese): မင်္ဂလာပါကမ္ဘာလောက
Nepali: नमस्कार संसार
Norwegian: Hei Verden
Pashto: سلام نړی
Persian: سلام دنیا
Polish: Witaj świecie
Portuguese: Olá Mundo
Punjabi: ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ ਦੁਨਿਆ
Romanian: Salut Lume
Russian: Привет мир
Samoan: Hello World
Scots Gaelic: Hàlo a Shaoghail
Serbian: Здраво Свете
Sesotho: Lefatše Lumela
Shona: Hello World
Sindhi: هيلو ورلڊ
Sinhala: හෙලෝ වර්ල්ඩ්
Slovak: Ahoj svet
Slovenian: Pozdravljen, svet
Somali: Hello World
Spanish: Hola Mundo
Sundanese: Halo Dunya
Swahili: Salamu, Dunia
Swedish: Hej världen
Tajik: Салом Ҷаҳон
Tamil: ஹலோ உலகம்
Telugu: హలో వరల్డ్
Thai: สวัสดีชาวโลก
Turkish: Selam Dünya
Ukrainian: Привіт Світ
Urdu: ہیلو ورلڈ
Uzbek: Salom Dunyo
Vietnamese: Chào thế giới
Welsh: Helo Byd
Xhosa: Molo Lizwe
Yiddish: העלא וועלט
Yoruba: Mo ki O Ile Aiye
Zulu: Sawubona Mhlaba

Licence MIT