Borovnica (Franzdorf ) is a settlement in the Municipality of Borovnica in the Inner Carniola region of Slovenia. It is about 20 km southwest of the national capital Ljubljana.
Borovnica was attested in written sources in 1260 as Vronitz (and as Vreuncz in 1300, apud Vraniciam in 1313, and Vraunitz in 1366). In the local dialect, the settlement is known as Barounica. The name is a univerbation of *Borovna (vas/voda), literally 'pine village' or 'pine creek'. The name therefore originally refers to a place or stream where pines grow. The early German name Vronitz (which was later transformed into Franzdorf) is adapted from the Slovene name by shifting the stress to the first syllable and loss of the syllable -ov-.