You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Will (Jira)" <ji...@apache.org> on 2022/06/21 18:38:00 UTC
[jira] [Created] (MSITE-904) Unable to generate zh_TW locale of site document
Will created MSITE-904:
--------------------------
Summary: 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
Attachments: image-2022-06-22-02-31-55-966.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!
I think it's bug.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)