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

Added a new isDuplicateLanguageCode() method to LanguageUtil

Details

    Description

      The LanguageUtil.isDuplicateLanguageCode() method is useful for deployments that have multiple flavors of the same language. For example, zh_CN and zh_TW are Chinese, but one is Chinese from China, and the other is Chinese from Taiwan.

      This method is useful for websites that need to know whether the "Chinese" language they support is the only one supported, or if another flavor is also supported.

      Some additional example are en_US vs. en_UK and pt_BR vs. pt_PT (English from the US / UK and Portuguese from Brazil / Portugal)

      Attachments

        Issue Links

          Activity

            People

              michael.saechang Michael Saechang
              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 SP5 (5.1.8)
                  5.2 EE SP2 (5.2.6)