I'm playing whack-a-mole bug edition with drupal yet again. Recently I've done a number of things including installing the neutral_path module. I just discovered that now my user profiles (which all have English and Japanese name values) are giving me Japanese values when the site should be in English. Examining the variable that is passed into
MYTHEME_preprocess_user_profile() I see that the field values are in Japanese and that
$variables['elements']['#language'] is set to
What could be causing this? What are reasonable steps to take to try and debug this?
I notice that after drupal_bootstrap() runs, I have $language reflecting English, but $language_content reflecting Japanese.