I need to create a web application that can support two languages, namely English and Japanese. I don't need a translator, just a workflow to display text based on user preferences.
Is there such a structure in which I do not need to invent a pause? Or do I need to create two separate sites?
Multilingual sites are usually created using gettext (which is supported on many systems, including Django, as well as Flask). I have not used it personally, but Flask-Babel seems like the package you need.
: , , . ( Django , , Flask).
python gettext , Accept-Language URL-.