Second Language Option

Hello, I have a running app. I want to have the option of having it in a second language. What’s the best approach here? All the text I show in my app is printed in st.markdown. I also have some text on my graphs. Do I have to reproduce the whole code for the other language?

What’s the best way to put in the other language’s text in there when the user chooses the second language?
Is it possible to have the language option on the top right, or does it have to be in the side bar?
Thanks!

Yo don’t have to reproduce the whole code, just user-visible strings. Python has built-in support for it.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.