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

problem with internationalization of multimodule projects

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-beta-5, 2.0-beta-6, 2.0-beta-7
    • 2.3, 3.0
    • internationalization
    • 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 ".."

      Attachments

        1. multilingue.zip
          12 kB
          Anne Gerodolle

        Activity

          People

            ltheussl Lukas Theussl
            gerodol Anne Gerodolle
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: