Vision language setting

How can I script Vision’s default global language?So, for example, the default language when the project starts is English, and I want the global language after the project starts to be French by my Settings, rather than having it manually selected by the Language Selector component after it’s added to the system.I hope you can give me a script example for my reference, thank you

Try system.util.setLocale('fr').

I see. Thank you