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

Added new language_format macro to velocity theme templates

    Details

      Description

      A language_format macro is now available from a velocity theme template. The new macro is equivalent to calling

      LanguageUtil.format(Locale locale, String pattern, Object[] argument).

      Usable example:

      #language_format("read-more-x-about-x", ["aui-helper-hidden-accessible", $entry.getTitle()])

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              samuel.kong Samuel Kong
              Reporter:
              brian.chan Brian Chan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  5.1 EE SP6 (5.1.9)
                  5.2 EE SP6 (5.2.10)
                  6.0 EE SP2 (6.0.12)