[fusion-trac] #69: Language determination by Fusion.
Fusion
trac_fusion at osgeo.org
Mon Sep 28 14:49:31 EDT 2009
#69: Language determination by Fusion.
-----------------------+----------------------------------------------------
Reporter: tgudmu | Owner: madair
Type: defect | Status: assigned
Priority: P2 | Milestone: 2.0
Component: Core | Version: SVN
Severity: Minor | Resolution:
Keywords: | External_id:
State: Analysing | Browser: All
Os: All |
-----------------------+----------------------------------------------------
Changes (by madair):
* version: 1.0.6 => SVN
* browser: Firefox 2 => All
Comment:
this is doable for 2.0 with the caveats:
- not doable if the map is using commercial layers only because there
isn't necessarily any AJAX calls made to the server (MapGuide and
MapServer both have a CreateSession.php interface that can be used for
this
- it would probably have to set it to the first lang code in the list, not
do any fancy language setting based on the preferences in the list.
(e.g. my default IE accept-language string is: "en-ca,en-
us;q=0.8,fr;q=0.5,fr-ca;q=0.3", this would set language to en-CA if
available, otherwise en.
Some parts of the page have already been rendered by the time
CreateSession is called and may require a redraw.
comments?
--
Ticket URL: <http://trac.osgeo.org/fusion/ticket/69#comment:4>
Fusion <http://trac.osgeo.org/fusion>
Fusion is a web-mapping application development framework for MapServer and MapGuide OS.
More information about the fusion-trac
mailing list