How to make the database display messages in Chinese?
In order to make the database display messages in Chinese, how should the server and client of the PostgreSQL database be configured?
PostgreSQL display messages in the language that is defined by the current locale, which is selected during initdb. It is possible to select a different locale when creating a new database. You can adjust the language in which messages are displayed by modifying the parameter
lc_messages = 'zh_CN'
Notify the database service to reload the configuration file:
$ pg_ctl reload