Sveti Andrej was formerly part of the German Empire. In the German Empire, the place was called Sankt Andrä.
The place is now called Andrej and belongs to Slovenia.
| Historical place name | Country | Administration | Time |
|---|---|---|---|
| Sanct Andrä | Austro-Hungary | Krainburg/Kranj | before the Treaty of Saint-Germain |
| Sveti Andrej | Austro-Hungary | Krainburg/Kranj | before the Treaty of Saint-Germain |
| Sveti Andrej | Yugoslavia | Škofja Loka | after the Treaty of Saint-Germain |
| Sankt Andrä | German Empire | Krainburg | 1941 |
| Andrej nad Zmincem | Yugoslavia | Kranj | 1945 |
| Andrej nad Zmincem | Yugoslavia | Socialistična rep. Slovenija | 1992 |
| Andrej | Slovenia | Slowenien | 1991 |