How to put a global translate button in streamlit


I am new to streamlit.

I have created a web app with 5 pages. All of these pages have st.write. However, I want when the user press a button in the sidebar, to translate all the st.write in every page, to French.

Is this possible?

It should be. What issues are you anticipating?

I do not know how to do it. Is there any guidance , video or a doc with a similar case?

There’s a standard module in Python to help with that.

There might be tutorials in other formats, just ask Google (or ChatGPT).