How to switch to English or another language directly ?

I know by performing “workbench. Action. ConfigureLanguage” can switch languages,
So how do you switch languages directly, with what command?

@Dennis you can set the locale programmatically using the nls.setLocale method: