Language override menu
----------------------

         Key: FOR-579
         URL: http://issues.apache.org/jira/browse/FOR-579
     Project: Forrest
        Type: New Feature
  Components: Core operations  
    Versions: 0.8-dev    
    Reporter: Sjur N. Moshagen


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)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to