You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "David Crossley (JIRA)" <ji...@apache.org> on 2006/03/30 03:25:30 UTC
[jira] Assigned: (FOR-580) Default language in forrest.properties
[ http://issues.apache.org/jira/browse/FOR-580?page=all ]
David Crossley reassigned FOR-580:
----------------------------------
Assign To: (was: 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
>
> 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