Vir was formerly part of the German Empire. In the German Empire, the place was called Vir.
The place is now called Vir and belongs to Slovenia.
| Historical place name | Country | Administration | Time |
|---|---|---|---|
| Vir | Austro-Hungary | Stein/Kamnik | before the Treaty of Saint-Germain |
| Vir | Yugoslavia | Kamnik | after the Treaty of Saint-Germain |
| Vir | German Empire | Stein | 1941 |
| Vir | Yugoslavia | Ljubljana | 1945 |
| Vir | Yugoslavia | Socialistična rep. Slovenija | 1992 |
| Vir | Slovenia | Slowenien | 1991 |