Localised folding in general deformations