Names in Spanish for fruit & veg vary greatly by country.
I'm pretty sure 'ananas' is still pineapple in parts of South America, where it's a key ingredient in a Chilean cocktail.
furthermore - palta = avocado, durazno = peach, choclo = corn etc - some of the words that are completely different from their Peninsular Spanish equivalents.
Abacaxi is such a fun word to say out loud.