Uploaded image for project: 'Maven Site Plugin'
  1. Maven Site Plugin
  2. MSITE-904

Unable to generate zh_TW locale of site document

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.11.0
    • 4.0.0-M4, 4.0.0
    • doxia integration
    • None
    • Microsoft Windows [Version 10.0.19043.1766]
    • Important

    Description

      Here is my code: https://github.com/doggy8088/mybatis-3/tree/patch-1

      I tried to run mvn clean site on my project. I expected to generate zh_TW and zh_CN site in the target/site folder. But it didn't generate it. Only target/site/zh been generated which means the Apache Maven Site Plugin unable to distinguish between zh_TW and zh_CN locale.

      I checked the source code in the src\main\java\org\apache\maven\plugins\site\render\AbstractSiteRenderingMojo.java file. This only read locale.getLanguage() and it just ignored the Country or Region part of the locale totally.

      I think it's bug.

      Attachments

        1. image-2022-06-22-02-42-48-237.png
          9 kB
          Will
        2. image-2022-06-22-02-42-27-184.png
          8 kB
          Will
        3. image-2022-06-22-02-42-09-288.png
          27 kB
          Will
        4. image-2022-06-22-02-41-41-253.png
          30 kB
          Will
        5. image-2022-06-22-02-41-22-889.png
          40 kB
          Will
        6. image-2022-06-22-02-41-02-772.png
          39 kB
          Will
        7. image-2022-06-22-02-40-32-419.png
          48 kB
          Will
        8. image-2022-06-22-02-31-55-966.png
          92 kB
          Will

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              willh Will
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: