The origin of the city's name is unclear. In the Middle Ages, both the river and the town were also known by the German name Laibach. This name was in official use as an endonym until 1918, and it remains frequent as a German exonym, both in common speech and official use. This is the name of the capital city of Slovenia.
Meaning uncertain, perhaps derived from the Slavic element lyuby meaning "love" or from the name of the Ljubljanica River (itself derived from the given name Ljubovid). This is the name of the capital city of Slovenia.