In one’s entire HS career.
AP scores carry little weight in the admissions process for most colleges; they are primarily used for credit/placement at the college one attends. AP **classes/b are important because they help show stretch of course load.
Also note that no college that requires/requests level 4 of a foreign language requests/requires that the terminal class be AP. If the schools offers a IV-H option, that is perfectly acceptable, assuming that the balance of the schedule is sufficiently rigorous. Of course, if the kid wants to take the AP version, and can handle it, she should.