[mapserver-users] Re: mapserver and i18n
Stephen Woodbridge
woodbri at swoodbridge.com
Wed Oct 6 09:46:22 PDT 2010
On 10/6/2010 11:07 AM, teeschke wrote:
>
> Hi Jeff,
>
> Thanks a lot, but I don't mean the support of caracter encoding.
>
> I want to publish the same map in different languages.
> I mean the technology to publish the same content in multiple languages.
> E.g. an american user would see the layers named "highways" and "railways"
> but a user from france will get the layers named "autoroute" and "chemins de
> fer" - with using the same shapefile.
>
> regards, Daniel
Daniel,
I think this has more to do with the client software than directly with
mapserver on the server side. The layer names are not really exposed to
the user except possible in part of the UI that might have a control to
turn on/off a layer. At that point the client side should be doing the
translation of the displayed names to the mapserver layer names.
Along this line of thinking, I think it would be interesting if
mapserver could detect the client language preferences and that could be
made available for selecting which attribute columns are used for
labeling. I have done this with a control in the client to select the
language then made changes in my requests to the server to request a
different mapfile based on language.
Regards,
-Steve W
More information about the MapServer-users
mailing list