forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juan Jose Pablos (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (FOR-580) Default language in forrest.properties
Date Wed, 20 Jul 2005 18:54:48 GMT
     [ http://issues.apache.org/jira/browse/FOR-580?page=all ]

Juan Jose Pablos reassigned FOR-580:
------------------------------------

    Assign To: Juan Jose Pablos

> Default language in forrest.properties
> --------------------------------------
>
>          Key: FOR-580
>          URL: http://issues.apache.org/jira/browse/FOR-580
>      Project: Forrest
>         Type: New Feature
>   Components: Core operations
>     Versions: 0.8-dev
>     Reporter: Sjur N. Moshagen
>     Assignee: Juan Jose Pablos

>
> When developing a multilingual site, it would be beneficial if the default/fallback language
could be configured from forrest.properties. This would imply that, given 'no' as fallback,
one of the following two scenarios would be true:
> 1)
> files: index.xml, index_es.xml, index_en.xml
> Requests for both index.html and index_no.html would generate the returned page from
index.xml
> 2)
> files: index_no.xml, index_es.xml, index_en.xml
> Requests for both index.html and index_no.html would generate the returned page from
index_no.xml
> In both cases the end result would be that there would be no need to maintain more than
one file for the fallback language.
> I would prefer the second alternative just for the sake of symmetry and equality of languages.
It has the additional benefit of making it very easy to change the default/fallback language
- just change the forrest.properties setting. The second alternative would also make it easier
to create a language override menu, as all the available languages/locales would be encoded
explicitly in the file name.

-- 
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


Mime
View raw message