Updated slug generation. Less buggy and more i18n friendly