Translate User Generated Input

Hey There,

can you help me with the following problem.
I want to build an app in englisch and German.
Users generate Input in german and they need to be translated to english.
What is the best way to automatically translate or display the user generated input within 2 different languages?

Kind regards