
If the session mode doesn't allow access to Settings, the language menu should respect that and not expose the "Region & Languages" panel. Using the dedicated method instead of manually constructing the menu item takes care of that and makes for less code. https://gitlab.gnome.org/GNOME/gnome-shell/issues/780