[mapserver-users] Re: mapserver and i18n

teeschke daniel.teske at web.de
Thu Oct 7 01:06:43 PDT 2010


Hi Michael,

thats a realy good idea for the attributes of the geodata. But what about

LAYER
   NAME 'my_highway_layer'
   TYPE LINE
   DATA "geom from data where lang='%lang%'" 
   METADATA
    "ows_title" "highways" ##### must be i18n
    "ows_group_title" "Infrastructure" ##### must be i18n
    "wms_feature_info_mime_type" "text/html"
    "wms_server_version" "1.1.1"
    "wms_format" "image/png"
    "wms_exceptions_format" "application/vnd.ogc.se_xml"
    "gml_featureid" "ID" 
    "gml_include_items" "ID,NAME"
    "gml_ID_alias" "Number" ##### must be i18n
    "gml_NAME_alias" "Name" ##### must be i18n
  END #METADATA
  CLASS
     NAME 'good'  ##### must be i18n
     COLOR 0 255 0
   END  # CLASS
  CLASS
    NAME 'bad'  ##### must be i18n
    COLOR 255 0 0
  END #CLASS
END # LAYER

I think the only solution is to provide one mapfile for each language.

Thanks a lot and regards, 
Daniel
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/mapserver-and-i18n-tp5607348p5610385.html
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the MapServer-users mailing list