Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
0.8
-
None
-
None
Description
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.
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.