update slug() method, remove transliterator_transliterate() when loaded php intl extension