Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-28969

Add Australian language properties, locale and timezones to Liferay Portal 6.0 and 6.1

    Details

      Description

      Overview

      Add Australian language properties, locale and timezones to Liferay Portal 6.0 and 6.1

      Changes

      Add Australian locale language properties

      • Clone en_GB language properties file as en_AU (ie. Language_en_AU.properties)

      Add Australian locale to portal properties

      • Australian locale "en_AU" to "locales" properties in "portal.properties" file
          locales=ar_SA,...,en_US,en_AU,en_GB,...,vi_VN
      (eg. locales=...,en_AU,...)
      

      Add Australian flag icon to unstyled theme

      • Add Australian flag icon to source folder "portal-web/docroot/html/themes/_unstyled/images/language/en_AU.png".
      • Icon will be included in "Classic" theme and available for selection in "Language Portlet".

      Add Australian capital cities and states to timezones in portal properties.

      • Australian timezones (see Australian timezones supported by JVM)
          #
          # Specify the available time zones. The specified ids must match those from
          # the class java.util.TimeZone.
          #
          time.zones=\
              Pacific/Midway,\
              ...,\
              Australia/ACT,\
              Australia/Adelaide,\
              Australia/Brisbane,\
              Australia/Canberra,\
              Australia/Darwin,\
              Australia/Hobart,\
              Australia/Melbourne,\
              Australia/NSW,\
              Australia/North,\
              Australia/Perth,\
              Australia/Queensland,\
              Australia/South,\
              Australia/Sydney,\
              Australia/Tasmania,\
              Australia/Victoria,\
              Australia/West,\
              ...,\
              Pacific/Kiritimati
      

      Add Australian locale to I18n Servlet in web descriptor file "ROOT/WEB-INF/web.xml".

      The following snippet shows how to add the Australian English (en_AU) as a new URL pattern.

      <servlet-mapping>
         <servlet-name>I18n Servlet</servlet-name>
         <url-pattern>/en_AU/*</url-pattern>    
      </servlet-mapping>   
      

      References

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: