How do I know the language in which an order was placed?
I have a multilingual site and i have performed the following tests:
(1) with an anonymous user, place an order entirely en English and the email email@example.com
(2) with an anonymous user, place an order entirely in French and the email firstname.lastname@example.org
Drupal Commerce creates user accounts associated with these orders, but the language is always the default language of the site.
Is there a way to do either of the following:
(a) when creating a user, use the current language of the interface?
(b) obtain information about which language the order was placed in?