Uploaded image for project: 'Forrest (Retired)'
  1. Forrest (Retired)
  2. FOR-579

Language override menu

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.8
    • None
    • None

    Description

      The present i18n features of Forrest is a good start, but to be really useful there has to be a way to present the available language variants of a page/site to readers to choose from.

      To be as flexible as possible, this menu should be generated pr document, and should reflect the available language variants of that document (this as opposed to a fixed set of available languages for the whole site). That is, given the following documents, the corresponding language override menus should be generated:

      index_es.xml
      index_en.xml
      index_no.xml
      index_se.xml

      should give the menu:

      Spanish (es)
      English (en)
      Norwegian (no)
      North Sámi (se)

      whereas the following document list:

      index2_es.xml
      index2_no.xml
      index2_se.xml

      should give the menu:

      Spanish (es)
      Norwegian (no)
      North Sámi (se)

      In the best case the language of the displayed document should be highlighted and unavailable for selection.

      The location and display of this menu should be configurable from skinconf.xml. I would sugggest the following defaults:

      Location: same bar as the document track, but on the right end of that bar
      Display: as a list of language links (that is, the default should not be a popup menu, although that could of course be a skin/skinconf alternative)

      Attachments

        Activity

          People

            Unassigned Unassigned
            moshagen Sjur N. Moshagen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: