Closed Bug 728522 Opened 14 years ago Closed 14 years ago

[DTPT] FB tab should load pt-br or es-ar based on user's Facebook locale

Categories

(Websites :: detodosparatodos.org, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: ckoehler, Unassigned)

References

Details

The Facebook tab doesn't use the FB api to check a logged in user's locale and always shows pt-br by default. To be consistent, we should use the FB api to check the user's locale and show them either pt-br or es-ar, accordingly. Documentation: http://developers.facebook.com/docs/reference/api/user/
Good morning! We are now checking FB user's locale and showing the appropriate tab version. When my FB was in english the PT tab appeared; when I changed FB to any kind of spanish, the ES tab appeared and when I changed FB to any kind of portuguese the PT tab appeared. Tested that the 'Argentina' 'Brazil' toggle was working and overriding FB's user locale too if user clicked on each. Commit: https://github.com/Nobox/Mozilla-DeTodosParaTodos-Site/commit/f9bc559d959f5a089aa76cfb2f3a62b222479eef
Bug resolved.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Verified default display is pt-br, and when language is set then it goes to the correct locale [ex: Spanish automatically displays es-ar].
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.