Thank you for the information,
There are some common causes of such swollen ankles.The common ones are prolonged sitting or standing, venous stasis, deep venous thrombosis, lymphatic obstruction, congestive heart failure, kidney failure, liver failure, etc.
As per the symptoms it seems that you are having the swollen ankles due to the prolonged sitting.The drivers and conducters and those who are at prlonged sitting or standing work are at increased risk.
The venous stasis causes the blood to accumulate and such swelling.
The other cause could be the venous thrombosis which may also cause such swollen ankles and such symptoms and should be ruled out.
The electrolyte imbalance may also be associated with such symptoms.You should also get your BP checked as the uncontrolled hypertension may also causes kidney damage and such swollen ankles.
You should try to avoid prlonged sitting and wear the compression stockings.The low salt diet is also advised to you.
The relevant investigations done like serum electrolytes, venous doppler, serum urea, creatinine , 2d echo of heart will help us in knowing any associated abnormality.You may consult a doctor if your symptoms are not controlled.
The treatment depends on the underlying cause.
Let me know if you have any doubt.