It's unclear how to pass in the proper locale to yahoo openid login page

Hi, I'm working on building Mozilla Persona which utilizes yahoo's openID. We're encountering an issue of how to present users with a localized yahoo openID page. We'd prefer to pass in a Accept-Language header to set this with standard locale descriptor. Could you provide guidance?

Steps to reproduce: 1. change language to non-english 2. clear any yahoo.com cookies out 3. sign in to beta.123done.org with a user@yahoo.com address 4. click 'verify' which should pop a dialog

result: leads to this https://login.yahoo.com/config/login?.intl=us&.src=openid

Follow up: So, I realized later that .intl is a country code, not a locale. So, es, it, fr "work". But 'jp' Japan isn't localized, nor if I try 'ja' or 'ja-jp'. And 'pt' is portugese in portugal, but 'pt-BR' is english.

Perhaps there's some way to pass an actual Accept-Language value into that api, but I don't know.

Issue: https://github.com/mozilla/browserid-bigtent/issues/174

  • Ed
  • Mar 28, 2013
0 Replies

Recent Posts

in OpenID General Discussion