Forrest
  1. Forrest
  2. FOR-18

support multiple languages (i18n)

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.7
    • Component/s: Core operations
    • Labels:
      None

      Description

      In my current environment to develop static mulitlingual web-sites, I use an ant build.xml and the m4 macro preprocessor to achieve the following (sample):
      1) index.en.m4 gets converted to index.en.html
      The *.en.m4 contains all language dependent text (similarly *.de.m4 for German) and includes
      index.m4 that contains the page's content layout.
      [(^\.)+].m4 includes sitedef.m4 where I define all global parts of the website (e.g. navigation structure, unique content e.g. phone numbers, filenames, etc.). This in turn includes a sitedefs.en or sitedef.de, ... respectively for global, language dependent definitions.
      2) Dependencies
      a) upon change of [(^\.)+].m4, all depending *.*LANG*.html get rebuilt
      b) upon change of sitedef.m4, build.xml, and alike all *.html gets rebuilt
      c) upon change of sitedefs.en all *.en.html get rebuilt.

      Obviously, I could use the exact same approach to create .xml whereever I created .html before, but my long-term goal is to get rid of m4. Has anybody already put some thought into how this would be done with forrest?

        Issue Links

          Activity

          Ralf Hauser created issue -
          Ralf Hauser made changes -
          Field Original Value New Value
          Attachment multLang.zip
          Juan Jose Pablos made changes -
          Assignee cheche
          Juan Jose Pablos made changes -
          Comment 10328
          Juan Jose Pablos made changes -
          Summary support mulitple languages support multiple languages (i18n)
          David Crossley made changes -
          Component/s Core operations
          Thorsten Scherler made changes -
          Link This issue blocks FOR-506 [ FOR-506 ]
          Juan Jose Pablos made changes -
          Fix Version/s 0.7-dev [ 12310031 ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]

            People

            • Assignee:
              Juan Jose Pablos
              Reporter:
              Ralf Hauser
            • Votes:
              5 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development