Hi,
If the house is gifted, capital gains will be due once the property is sold by your wife and her sister if there is any increase in the value between the date of transfer and date of sale.
There is no Inheritance Tax in the UK but you may wish to check with the authorities in Slovenia.
If any gain is due, please refer to the following guidance:
Report and pay your Capital Gains Tax
Thank you.