It is all over the map, I know of at least one district in Texas that has an immersion program where 50% of your class time is in Spanish starting in kindergarten. I know of a (private) school where by 8th grade you have had 4 years Spanish and 4 years French. The public schools I went to had neither. The earliest you could take Spanish was sophomore year of high school, and at most you could take 2 years of it.