Thanks for your question
It is not uncommon for the patient to have ankle swelling on long term steroid
You need to consult a doctor to prescribe either a diuretic
medicine as suitable or decrease the steroid dose.
And do not be oblivious of the fact that it could be due to many other reasons as well, therefore consultation with a doctor is must.
Hope that answers