Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-16013

Portlet titles appearing in wrong alphabetical order in Apps - Plugins Configuration and in Apps - Components

    Details

    • Fix Pack Status:
      Scheduled
    • Business Value:
      3

      Description

      Solution Notes
      The following portal property has been added:

      portal.properties
          #
          # Specify the collator rules to be used by the CollatorUtil. These rules, if
          # set, are provided to a RulesBasedCollator for text sorting and are only
          # configurable by locale. A file can also be used by prefixing "file\:" to
          # a path on the file system. Using a file means property escaping can be
          # avoided.
          #
          # See https://issues.liferay.com/browse/LPS-73600 for more information.
          #
          #collator.rules[en_US]=
      

      Reference: https://docs.oracle.com/javase/8/docs/api/java/text/RuleBasedCollator.html

      When using a file to configure rules (

      collator.rules[en_US]=file\:/path/to/file.txt

      ), the content should just be the value of the rule, no property escaping is needed.

      Example configurations for "German" language:

      collator.rules[de]=<'\ '<a\,A<b\,B<c\,C<d\,D<e\,E<f\,F<g\,G<h\,H<i\,I<j\,J<k\,K<l\,L<m\,M<n\,N<o\,O<p\,P<q\,Q<r\,R<s\,S<t\,T<u\,U<v\,V<w\,W<x\,X<y\,Y<z\,Z
      collator.rules[de_DE]=<'\ '<a\,A<b\,B<c\,C<d\,D<e\,E<f\,F<g\,G<h\,H<i\,I<j\,J<k\,K<l\,L<m\,M<n\,N<o\,O<p\,P<q\,Q<r\,R<s\,S<t\,T<u\,U<v\,V<w\,W<x\,X<y\,Y<z\,Z
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alec.shay Alec Shay
                Reporter:
                tibor.lipusz Tibor Lipusz
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.X EE