You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2022/11/29 22:47:00 UTC

[jira] [Closed] (MSITE-904) Unable to generate zh_TW locale of site document

     [ https://issues.apache.org/jira/browse/MSITE-904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed MSITE-904.
--------------------------------
    Resolution: Fixed

Fixed with MSITE-913.

> Unable to generate zh_TW locale of site document
> ------------------------------------------------
>
>                 Key: MSITE-904
>                 URL: https://issues.apache.org/jira/browse/MSITE-904
>             Project: Maven Site Plugin
>          Issue Type: Bug
>          Components: doxia integration
>    Affects Versions: 3.11.0
>         Environment: Microsoft Windows [Version 10.0.19043.1766]
>            Reporter: Will
>            Assignee: Michael Osipov
>            Priority: Major
>             Fix For: 4.0.0-M4
>
>         Attachments: image-2022-06-22-02-31-55-966.png, image-2022-06-22-02-40-32-419.png, image-2022-06-22-02-41-02-772.png, image-2022-06-22-02-41-22-889.png, image-2022-06-22-02-41-41-253.png, image-2022-06-22-02-42-09-288.png, image-2022-06-22-02-42-27-184.png, image-2022-06-22-02-42-48-237.png
>
>
> 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.
> !image-2022-06-22-02-31-55-966.png!
> !image-2022-06-22-02-40-32-419.png!
> !image-2022-06-22-02-41-02-772.png!
> !image-2022-06-22-02-41-22-889.png!
> !image-2022-06-22-02-41-41-253.png!
> !image-2022-06-22-02-42-09-288.png!
> !image-2022-06-22-02-42-27-184.png!
> !image-2022-06-22-02-42-48-237.png!
> I think it's bug.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)