Check out example codes for "translate afrikaaans to english". It will help you in understanding the concepts better.
Code Example 1
just use google translate init jesus christ man
Code Example 2
Uh oh stinky
Learn ReactJs, React Native from akashmittal.com