Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0-beta-5, 2.0-beta-6, 2.0-beta-7
-
None
Description
When trying to internationalize a multimodule project, the "modules" menu does not work in alternate languages, and it is very difficult to build a consistent site in the non default language, with links working OK.
e.g. in attached multilingue.zip example, if I run "mvn site" then "mvn site;deploy" , the "mymodule" link in fr/index.html refers to fr/mymodule/index.html, wehereas the corresponding page is deployed as "mymodule/fr/index.html" .
I can think of 2 ways to solve this issues, one of them seems preferable :
one is to correct the link so that it refers to "mymodule.fr.index.html"
the second is to deploy the submodule localized version in fr/mymodule rather than in mymodule/fr . I think this solution is preferable, because it makes the localized site more readable. For example, if we want to create a link that refers to the parent module, with the first solution we should refer to "../../fr/index.html" whereas with the second we simply refer to ".."