Describe the bug
When using pgAdmin in Traditional Chinese (zh_TW), selecting SSL Mode as “允許” causes pgAdmin to send the literal localized string to PostgreSQL instead of the expected value allow. PostgreSQL does not recognize this value and rejects the connection.
To Reproduce
Steps to reproduce the behavior:
- Set pgAdmin UI language to Traditional Chinese
- Create or edit a server connection
- Set SSL Mode to “允許”
- Attempt to connect
Expected behavior
Localized UI labels should map to valid PostgreSQL SSL mode values (e.g. allow) internally.
Error message
connection is bad: invalid sslmode value: "允許"
Screenshots
Desktop
- OS: Linux
- pgAdmin 4: 9.11
- Mode: Desktop
- Browser: None
- Package type: DEB