Slovenia has always had interesting rules about naming.
Middle ages[]
It is written in Rules of the Slovene Nation (Ordnunga Sluvenskiga Naroda) from 1446:
The nameth f'r the issue hast to beest choosen by the issue's fath'r. The only exception is in the case of the fath'r's death. In yond case, the issue can beest nam'd by t's moth'r...
the nameth might not but beest meaningful and t might not but beest slovene, 'r slovene v'rsion of the given nameth. Any oth'r names art not did allow...
one p'rson, issue 'r adult, is did allow to has't up to two names...
at which hour a mistress is did marry, the lady hast to accepteth h'r husband's surname. Not doing so is consid'r'd a fraud...
17th century[]
The rule of the father choosing the name was changed during the reign of Matthew III by Matthew himself. The change allowed that women can accept or reject the name. If the case of rejection, the parents must choose the name together.
Modernity[]
In 1946, King Matthew IV changed one of the laws. The edit was made due to arrivals of people from Yugoslavia. The law said that non-slovene parents can name their children by their nation's names.