_get_locale now supports default locale callables