The most widely spoken language in Spain is Spanish. But since Spain is a very diverse country, the local language of Barcelona is not Spanish. Catalan is spoken the most in Barcelona. Some of the common greetings in Catalan are:
Hi- Hola
Good morning- Bon dia
Good afternoon- Bona tarda
Good night- Bona nit