Ticket #3611 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Lack of WPLANG in config causes blog to claim it's language is en-US

Reported by: nickshanks Assigned to: anonymous
Priority: high Milestone: 2.1
Component: Administration Version: 2.1
Severity: normal Keywords: has-patch
Cc:

Description

The best solution would be to omit the language attribute completely when WPLANG is empty, however this patch simply changes it to "en" for the time being.

Priority set to high as it's a trivial patch and should go in 2.1

Attachments

lang-en.diff (331 bytes) - added by nickshanks on 01/18/07 12:32:54.
patch

Change History

01/18/07 12:32:54 changed by nickshanks

  • attachment lang-en.diff added.

patch

01/18/07 14:45:00 changed by Viper007Bond

If it's not en-US, wouldn't you define WPLANG?

01/18/07 17:40:08 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

(In [4764]) If WPLANG is empty leave empty. fixes #3611

01/18/07 18:13:03 changed by nickshanks

Shouldn't all these be "en" not "en-US" though? That was part of the point in opening this in the first place. Leaving as closed but would like response.

01/18/07 18:21:30 changed by ryan

en_US is fine in the context of loading gettext files. It isn't shown in the lang attributes.