yugabyte-db
yugabyte-db copied to clipboard
[YSQL] Support LC_MESSAGES: messages in national languages
Jira Link: DB-3002
Description
Flag --enable-nls should be set a t the build time in order for that to work. Also there was unintentional rename of the postres file with translations. The line
https://github.com/yugabyte/yugabyte-db/blob/a550bb7e7373cd415b265fd3d556f5ee0cda1674/src/postgres/src/nls-global.mk#L102
refers $(SO_MAJOR_VERSION) which used to be empty string for postgres, but turned into "1" since we build it into .so That actually is a positive change as if Yugabyte is installed alongside with postgres, they won't conflict. We just need change domain in the code from "postgres" to "postgres1"