In Spain the people pronunciation is pijama but in Latin America the pronunciation is “piyama”. And both are Spanish.
The city has its origin in the shrine of Saint James the Great, now the city's cathedral, as destination of the Way of St. James, a leading Catholic pilgrimage route originated in the 9th century[1]. In 1985 the city's Old Town was designated a UNESCO World Heritage Site.