forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bertrand Delacretaz (JIRA)" <j...@apache.org>
Subject [jira] Created: (FOR-888) Per-project i18n configuration (default locale, use Accept-Language, etc.)
Date Mon, 22 May 2006 15:46:29 GMT
Per-project i18n configuration (default locale, use Accept-Language, etc.)
--------------------------------------------------------------------------

         Key: FOR-888
         URL: http://issues.apache.org/jira/browse/FOR-888
     Project: Forrest
        Type: Improvement

  Components: Internationalisation (i18n)  
    Versions: 0.8-dev    
    Reporter: Bertrand Delacretaz
    Priority: Minor


LocaleAction and LocaleMatcher are now (after the changes of FOR-887) configured at a single
point in the main sitemap, but there's no way to override their settings from a project file.

IMO the most important parameters to configure are:
a) whether to use browser headers to select the locale
b) the default locale, to use a a fallback
c) whether to use the "blank locale" as a fallback when selecting content (i.e. use index.xml
if we were looking for index.fr.xml and it's not there)

But it could be useful to make all LocaleAction and LocaleMatcher settings configurable.

The problem is that these two are configured in the <map:components> settings and as
such can only use static values, they cannot read their settings from an input module. So
it's not trivial to make this configurable at the project level.

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