When a user interacts with the payment service, we can get their locale from 
the HTTP headers. Later on we need to send them emails that are localized, when 
no browser is present in the request cycle to determine the locale from. 

The simple solution to this is store the locale and re-use that at a later 
date. 

FXA Profile Server says tantalizingly "A server to provide common 
profile-related data for a Firefox Account. Such as name, avatar, location, 
age, gender, etc 
<https://wiki.mozilla.org/Identity/Firefox-Accounts#What_information_does_Firefox_Accounts_store_about_the_user.3F_Can_I_use_it_to_store_user_data_for_my_application_or_service.3F>.”
  But doesn’t seem to store location in an API I can use (and yes location != 
locale). 

Before we go off and store this in our own world, can I confirm that the users 
locale isn’t stored in the FxA land already?
_______________________________________________
Dev-fxacct mailing list
[email protected]
https://mail.mozilla.org/listinfo/dev-fxacct

Reply via email to