Fix PHP locale detection

RESOLVED WORKSFORME

Status

Websites
glow.mozilla.org
RESOLVED WORKSFORME
7 years ago
6 years ago

People

(Reporter: jbalogh, Unassigned)

Tracking

Details

Attachments

(1 attachment)

(Reporter)

Description

7 years ago
Created attachment 522369 [details]
locale detection in php

glow picked up locale detection from [1] and it doesn't know about quality values.

Here's a new script that does the right thing with Accept-Language and prefixes and upper vs. lower casing. I'm filing the bug to get it reviewed and let people know about it.

[1] http://viewvc.svn.mozilla.org/vc/projects/granary/libs/l10n/localeDetection.class.php?view=markup
Attachment #522369 - Flags: review?
(Reporter)

Updated

7 years ago
Attachment #522369 - Flags: review?(stas)
Attachment #522369 - Flags: review?(pascalc)
Attachment #522369 - Flags: review?
(Reporter)

Comment 1

7 years ago
Glow is dead.
(Reporter)

Updated

7 years ago
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → WORKSFORME

Updated

7 years ago
Attachment #522369 - Flags: review?(pascalc)
Attachment #522369 - Flags: review?(stas)
You need to log in before you can comment on or make changes to this bug.