Student loan - move to Spain
I earn £100k currently, owing £41k on a plan 2 student loan. About to sell my home and move to Barcelona to earn €100k + bonus with higher take-home (due to Beckham’s Law).
I will have the money available to pay my loan in full and keep a strong emergency fund but unsure what to do as lots of conflicting advice on what to do when moving abroad.
As context, I may take a career break for pregnancy in next 2-3years but I’m broadly confident I’ll earn at this level. Likely will move back to the UK at some point - maybe 2-3years. Unlikely we’ll buy in Spain, more likely we’ll buy in the UK on our return.
Advice wanted!
Edit: typos