That's really interesting. There must be different rules and customs all around the world.
I was reading a book recently where it was mentioned that in the past in (I think) Belgium, women used to sign their names simply as 'eps' (wife) then their husband's name. I get really annoyed when at livestock shows the prize winners are announced by the owner's name, rather than the animal's, but those poor Belgian wives were being subsumed by their husbands and becoming nameless non-persons.
When I got married I was delighted to be rid of my maiden name as I could legitimately dissociate myself from the disreputable menfolk of my birth family just when I needed a new identity
It was the same here untill recently you know - in all ex british empire english speaking countries - dr smith got married and his wife was known as mrs dr smith.
Even now - Prince Michael of Kent - and his wife Princess Michael of Kent.
When a Polish king passed away with hisnonly child being a girl (Princess Jadwiga) she was crowned as Jadwiga the KING of Poland and Hungary. As the law didnt even consider having a Queen as the head of state - only a wife of the king. When she married her husband became the king and she was downgraded to queen.
The word for king in Polish is "król", queen is"królowa", where the "-owa" at the end indicates she is the wife of "król-".
With surnames ending with "-ski" it is pretty simple as "ski" is masculine version and "-ska" would be feminine, i.e. daughters, wifes are all "-ska". However with certain otehr types of Polish surnames, like my maternal grandparents mr Piech and his wife mrs Piech (in passport) but people would often call her mrs Piechowa, i.e. indicating that she ks a wife of mr Piech. My mother would have been miss Piechówna, "-ówna" saying daughet of Piech. Her brother would have been Piechowicz, i.e. son of Piech.
In Polish culture it is not really used any more in our generation, but Russian tend to still use it quite a lot - as well as all the ex Russian subjects and collonies (all over central Asia etc).