How do I get the current locale

How do I get the current locale

@xiaofan Aside from the method @vinodronold mentioned, if you’re in the frontend, you can simply access nls.locale.

Thank you for your answers.