#4365: [unicode] slug generation can be enhanced
---------------------------------+------------------------------------------
   Reporter:  mtredinnick        |                Owner:  mtredinnick         
     Status:  new                |            Component:  Internationalization
    Version:  other branch       |           Resolution:                      
   Keywords:  slug unicode i18n  |                Stage:  Accepted            
  Has_patch:  1                  |           Needs_docs:  0                   
Needs_tests:  0                  |   Needs_better_patch:  0                   
---------------------------------+------------------------------------------
Changes (by Jonas):

  * keywords:  => slug unicode i18n
  * has_patch:  0 => 1

Comment:

 I found a solution for characters with accents, and anothers used on
 Europe.
 
 Got from http://www.djangosnippets.org/snippets/98/ (_string_to_slug
 method) that points to
 http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/251871 (Aaron
 Bentley)
 {{{
 E.g:
 It translates: Á È ï ô ü ñ
 to:            A E i o u n
 }}}
 so it's very usefull for a lot of languages.
 
 A patch is added.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/4365#comment:3>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to