Creating bilingual Beamer slides

For a lecture on Python I have been looking for a way to create bilingual slides in a single document. Based on and I have compiled the following example.

One simply needs to set the babel language in the document options to switch between German and English.

		\begin{frame}[fragile]{Hallo Welt}
		Hallo Welt
	\begin{frame}[fragile]{Hello World}
	Hello World

Photo by Alex Litvin on Unsplash