pub(crate) fn result_is_err_missing_locale<T>(
    result: &Result<T, DataError>,
) -> bool