Fix how the locale is set from menu config / query param. #492