Years of foreign language needed for acceptance?

When a college requires/recommends a certain number of years of a language it generally means reaching that level in one language. For example a college looking for 4 years of a foreign language wants to see an applicant go up to Spanish 4. Taking two years of two different languages will not be viewed as taking four years of a foreign language.

Foreign language is viewed as an academic course and (in an extreme example) the rigor needed to master level 4 will be much higher than taking 4 intro level foreign language classes.

That said, it appears you have taken the minimum requirements with Spanish 2. You need to determine if you should continue to meet (or get closer to) the recommendation.