How to set language of entire dash layout if using flask application factory

Hi community!

I’ve done some research and didn’t find any solution besides this. But with flask’s application factory it seems kinda gross to do it that way, so may be any other option?

I bothers me because browser suggests to translate the page every time i open it so it’s kinda drives me crazy)