How to change Locale Settings -> System Locales in terminal?

In short, I want to make have English and Japanese in System Locales like the screenshot below. But I cannot use the GUI (due to XRDP sudo problem). How can I change it in terminal? /etc/locale.conf does not seem to be it.

In short, there are several places to set the language, which this GUI does automatically.

  1. /etc/locale.conf
  2. /etc/vconsole.conf
  3. /etc/X11/xorg.conf.d/00-keyboard.conf
  4. /etc/locale.gen

Read this: Localization - ArchWiki

Btw… did you not try to run it with sudo?

sudo manjaro-settings-manager -m msm_locale  

I had tried to run it with sudo, but it failed with an output:

Authorization required, but no authorization protocol specified

qt.qpa.xcb: could not connect to display :10.0
qt.qpa.plugin: Could not load the Qt platform plugin “xcb” in “” even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

zsh: IOT instruction sudo manjaro-settings-manager