In small bowl mix sugar, salt and a bit of vinegar and make sure that salt and sugar are dissolved completely. Some version of this vinegar making required to blend in mortar few garlic cloves, a bit of ginger and few chilli with salt and sugar. This make vinegar a bit more cloudy and more rich in flavours. But you can omit this technique, just make sure that salt and and sugar are dissolved.
Prepare all ingredients. Peel garlic, peel ginger, wash chilli and remove green stalk. Slice all ingredients, to make sure they can go into the bottle. Slice ginger into thin stripes, even if you use jar with very wide neck, to make sure it give away all flavours in reasonable time. Pierce cardamom bulbs.