fix title and slug lengths limits #575

new functions for translit and truncate