Added active_locale implementation