Share your repls and programming experiences

← Back to all posts
Google translate app
RolandJLevy

Built with Node, Express, EJS and Bootstrap

Voters
programmeruser
userSM
python88
hg0428
userundefined1
kingcharles
mkhoi
DakshVohra
dabs364
seanlnge
Comments
hotnewtop
ch1ck3n

jest

RolandJLevy

Hi @ch1ck3n, thanks for your comment. Do you have a suggestion or any further comments?

ch1ck3n

@RolandJLevy This is a great workaround because I got blocked on google translate for no reason :P

RolandJLevy

Hi @ch1ck3n, thanks a lot. When you say you were blocked from Google translate, do you mean blocked from the official website? Also, what did you mean by saying 'jest'?

ch1ck3n

@RolandJLevy translated "e" into french

RolandJLevy

Hi @ch1ck3n, not sure what that means... Can you explain?

ch1ck3n

@RolandJLevy "E" is just my way of saying it's pog

ch1ck3n

@ch1ck3n hence this is amazing

RolandJLevy

@ch1ck3n ah, ok, I got it. Thanks! :)

HahaYes

I'm loving this

RolandJLevy

@HahaYes thanks!

AndrewZarudnyi

I've already found a solution for the finest approach to do it; for example, you can now go to the specialists without much trouble or problems and they will assist you. You may witness for yourself by downloading a useful tool called english to german , which can assist you in completing any translation for your firm. When I need to translate documents, I use it. I hope you found it beneficial!

RolandJLevy

@AndrewZarudnyi thanks for your message but the purpose of the translation app was to learn how to build an application from scratch, using Node, Express and an API.

I'm interested in software development and this was just an exersize for me to learn something new. I don't really use translating software much but thanks for the link anyway :)

Wilke000

So fun to play around with lol

RolandJLevy

@Wilke000 thanks!

DynamicSquid

Sweet!

RolandJLevy

@DynamicSquid thanks 👍

LTI2

viileä! made with translation

RolandJLevy

Hi @LTI2, nice one! I think that's cool in Finish 🇫🇮

LTI2

@rjlevy yes right

Soccer135246

WAAAAAAAT? No translating into chinese?

RolandJLevy

Hi @Soccer135246, thank you for your suggestion. I have just added Chinese to the list of languages. I had to choose either Chinese Simplified or Chinese Traditional. Which one do you think is better? Here is a list of all the languages supported by Google Translate: https://cloud.google.com/translate/docs/languages

potatojs

great job!

i see arabic in there and there isn't a flag,
you can just write AR for arabic it's better then nothing :D

RolandJLevy

thanks @potatojs! Thanks for the suggestion - I've added Arabic with a flag, it's at the top of the dropdown menu, as shown attached. Can you see it now?

potatojs

no, i don't see any flags, maybe the problem is in my browser?[email protected]

RolandJLevy

Hi @potatojs, that's strange. I know there have been issues with emojis working on Windows 10 in the past. Which operating system and browser are you using?

potatojs

hi @rjlevy , i am using windows 7 chrome

RolandJLevy
zplusfour

why there is no arabic?

RolandJLevy

Hi @ZDev1, I want to add Arabic but I don't know what flag to use as each flag is specific to only one country

zplusfour

@rjlevy add UAE or KSA
KSA = saudi arabia
UAE = united arabic states
btw I am arabian and I'd like to see it ;)

RolandJLevy

Hi @ZDev1, thank's for the suggestion. I have added Arabic, but we can only choose one flag because Google Translate API only has one option for Arabic: ar listed here

I chose the United Arabic Emirates flag shown here but we can change it to the Saudi Arabia flag if you want.

DakshVohra

could you put hindi?

RolandJLevy

Hi @DakshVohra, thanks for the suggestion. I've added Hindi 👍

DakshVohra

@rjlevy sick! thanks!

zplusfour


Also I don't prefer to use bodyParser
You can use only express.json() and express.urlencoded({ extended: false })

RolandJLevy

Hi @ZDev1, thanks for pointing out the error. It was working fine until last night. Do you have any suggestions on how to fix this error?

@vitalets/[email protected]' is not in the npm registry.

RolandJLevy

I tried removing the node modules with rm -rf node_modules and reinstalling them but I get the same error...

zplusfour

@rjlevy so strange

RolandJLevy

Hi @ZDev1, I reverted to a previous commit from the Github repo and it's now working again 👍

RolandJLevy

@ZDev1 what alternative to bodyParser do you prefer?

zplusfour

@rjlevy yey!

zplusfour

@rjlevy I used bodyParser in the old version of express
Now you can use express itself instead of bodyParser in the new version
Like:

RolandJLevy

Hi @ZDev1, that's great & thanks for explaining. I didn't know this was possible. I'm going to try to implement it as you've suggested 👍

RolandJLevy

Hi @ZDev1, I've removed bodyParser and implemented your suggestion - thanks again 👍

zplusfour

@rjlevy ok nice!
also np!

RolandJLevy

Hey @ZDev1, I just made a new game called SOLITAIRE - check it out here! https://repl.it/talk/share/GAME-Play-SOLITAIRE-another-awesome-game/54194

zplusfour

@rjlevy sure!

zplusfour


There are some errors!

k9chelsea2

cool

RolandJLevy

@NDLFOREVER thanks. The fun part was getting the flag emojis to work 😁

k9chelsea2

nice, I speak 2 languages fluently and am learning another one, since I spend most of my days on repl.it at the moment trying to learn c++ and get better at css, I tend to have a repl window open when I'm doing other stuff like trying to learn German it will be much easier to access this repl than go through the trouble of googling google translate this is so much easier than it lol

RolandJLevy

Hi @NDLFOREVER, that's great to hear. I haven't done any C++ but I've done quite a lot of CSS. I admire you for learning German and happy to hear you can do your translation through repl.it now. Let me know if you have any suggestions to improve the app :)