Put the whole onions in a large bowl.
Then season with salt and mix together.
Put them in sterilized jars and tie muslin (cheesecloth) over the top, then leave in a sunny or warm place for 2 days, shaking daily.
Open the jars and drain the onions and place them on kitchen paper (paper towels) for about 2 hours.
Put the vinegar in a deep pan, add the jaggery, all the spices, and garlic and season with salt.
Then bring to the boil and cook for about 10 minutes.
Add the onions and cook for a further 5-10 minutes.
Remove from the heat and allow it to cool overnight.
The next day, put the mixture into sterilized jars, cover with muslin and leave on the windowsill for a week, shaking it daily.
It will be ready to eat after 7-10 days.