Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#3611 closed defect (bug) (fixed)

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

Reported by: nickshanks Owned by:
Milestone: 2.1 Priority: high
Severity: normal Version: 2.1
Component: Administration Keywords: has-patch
Focuses: Cc:


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 (1)

lang-en.diff (331 bytes) - added by nickshanks 10 years ago.

Download all attachments as: .zip

Change History (5)

10 years ago


#1 @Viper007Bond
10 years ago

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

#2 @ryan
10 years ago

  • Resolution set to fixed
  • Status changed from new to closed

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

#3 @nickshanks
10 years ago

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.

#4 @ryan
10 years ago

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

Note: See TracTickets for help on using tickets.