Closed Bug 689371 Opened 13 years ago Closed 13 years ago

Auto-determine locale and use profile locale

Categories

(Firefox Affiliates Graveyard :: affiliates.mozilla.org, defect)

defect
Not set
critical

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: osmose, Assigned: osmose)

Details

Attachments

(1 file)

Currently, the site does not set a user's locale when they register. The site should take the user's locale upon registration and store it in the user profile, and use this stored locale as the user's locale across the site.
How is that different from detecting the locale and stuffing it into the URL? Is there a reason to keep it around outside a request/response context?
We allow users to change their locale so that they can access banners from different locales. It was a possibly incorrect assumption that this would affect the rest of the site's language as well.

chelsea: Do we want locale choice to only affect banners seen, or the entire site's locale?
Let's make banner language an option in the banner wizard for 1.1
Fixed in https://github.com/mozilla/affiliates/commit/14534ab074b429e3a6e41df993d8e5f270a2dd59

User locales are now auto-detected when a user activates their account and have their browser locale set to a locale that Affiliates supports.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
QA verified. Creating a new account with a locale such as de-DE results in a properly localized site. Banner images are correctly localized. After editing the user profile to Spanish, new banner creation properly results in banners localized to the new locale while the site remains in German.
Attached image screenshot
Status: RESOLVED → VERIFIED
Product: Websites → Firefox Affiliates
Product: Firefox Affiliates → Firefox Affiliates Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: