Yes it is but it is not that i want =) Sorry for my poor english. May be you did not correctly understand my previous message. I want to convert any unicode symbols to english ascii symbols. slugify_unicode makes url with russian characters if page title is in russian. It is not that i want. And django's slugify simply strips non-ascii characters. It not that I want too. Is there any way to convert (transliterate) unicode to ascii on the fly without additional programming? Any config option or something like this?
понедельник, 11 января 2016 г., 1:48:31 UTC+3 пользователь Stephen McDonald написал: > > The first dozen or so results in Google when searching for > "slugify unicode" reveal exact what you want. > > On Mon, Jan 11, 2016 at 12:01 AM, <[email protected] <javascript:>> > wrote: > >> Hi guys, >> >> I have a site with russian locale and want to convert non-ascii slugs >> into ascii one to avoid ugly urlencoded urls. >> I've replaced Mezzanine's slugify with Django's >> default django.template.defaultfilters.slugify but it just strips non-ascii >> characters but i want to transliterate them. >> Is there any way to do it in Mezzanine without making own slugify? >> >> Thnx for any answer. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Mezzanine Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Stephen McDonald > http://jupo.org > -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
