How to build a multi language with Streamlit

Heys guys, I have just finished developing my streamlit app, a simple one in German language, now I will like to have a simple icon on top that can allow the user change the language, I only need two languages, English and German. How do you suggest I approach this, please?

A simple sample app would be beneficial.

Thank you so much!

I was able to fix this by using python dictionary to map the languages. In case someone thinks about this in the future. cheers

1 Like