Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-8037

Strip accents when creating node names

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • None
    • 6.2.7
    • None
    • None

    Description

      Description of current state

      The use case taken from Content editor migration, but seems to be widespread in Magnolia.

      If an editor whose written language is accented creates a story, then there is a not-so-nice UX issue when a story title such as this one

       

      is converted to a story name O--erve-ou-k-m-jabl–ku:

      Proposed solution

      Apache's stripAccents (http://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/StringUtils.html#stripAccents-java.lang.String-) could be used to generate more user-friendly names instead (O-cervenouckem-jablicku) rather than (or before) "replacing the characters with a dash <code>-</code>".

       

      Developer notes

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              mdrapela Martin Drápela
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Task DoD