You can use the command-line interface (CLI) to specify the locale for a system. The language that you select as your locale setting is used to display command results and error messages in the CLI.
setlocale -locale 3
where 3 is the ID for the Japanese locale setting.