Fix globalize_locales and globalize_attribute_names inheritance