Skip to content

SSL mode uses localized value "允許" instead of "allow" in Traditional Chinese UI, causing connection failure #9500

@CatTimothy

Description

@CatTimothy

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:

  1. Set pgAdmin UI language to Traditional Chinese
  2. Create or edit a server connection
  3. Set SSL Mode to “允許”
  4. 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

Image

Desktop

  • OS: Linux
  • pgAdmin 4: 9.11
  • Mode: Desktop
  • Browser: None
  • Package type: DEB

Metadata

Metadata

Type

No type

Projects

Status

🆕 New

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions