El Salvador is named after Jesus. The name means "the Savior," and it comes from a Spanish town founded in Christ's honour during the conquest of Central America.
The Spanish conquest began in 1524 with an expedition from Guatemala led by Pedro de Alvarado. His forces pushed on to Cuscatlán, the capital of the Pipil people. A second expedition, in 1525, founded a Spanish town called San Salvador near that site. Wikipedia says Pedro ordered his brother Gonzalo to give the town that name.
San Salvador means "Holy Savior." Wikipedia suggests it probably honours the feast of the Transfiguration of Jesus, known in Spanish as the Divino Salvador and celebrated on 6 August.
The town did not stay put. It was destroyed during a Pipil uprising in 1526. Diego de Alvarado re-established it on 1 April 1528, at a site now called Ciudad Vieja. Britannica treats 1528 as the town's permanent establishment. It moved again in 1545, to the Valle de las Hamacas, which offered more space and fertile land.
The town's name spread outward. It became the capital of a province with the same name, and the province's name became the country's. Britannica notes that the modern name, El Salvador, was not used until 1841. Before that, the state was called San Salvador, after its capital.
The Spanish word goes back to Latin salvator, from salvare, "to save." Wiktionary notes that Spanish place names using it are often clipped from San Salvador. One example is San Salvador Island in the Bahamas. Salvador is also a Spanish given name, chosen in honour of Christ as the Savior.