It's a language as it is derived from Latin. It's not a dialect of Spanish at all. http://www.orbilat.com/Languages/Catalan/Catalan.html is a link to a pretty good read about the language of Catalan. Personally, I can see why they view themselves as Catalan rather than Spanish.