MAJOR Set locale properly for subsite

Previously, there was dead code to set a locale, but it never
 actually got called. This is fixed now, and your locale
 will be set to the language of the subsite.