[Geoserver-devel] [JIRA] (GEOS-7205) Style Localization issues

Michael Colin created an issue

GeoServer / BugGEOS-7205

Style Localization issues

Issue Type:

BugBug

Affects Versions:

2.5.1

Assignee:

Unassigned

Attachments:

Localized_CountryCode_Parm.patch

Components:

WMS

Created:

18/Sep/15 8:31 AM

Labels:

SLD

Priority:

MediumMedium

Reporter:

Michael Colin

Hello,

Regarding Localized in Styles:
“lang” really only specifies the lang, not the country. If I try to use the locale instead, e.g. es_ES, it will simply not work.

A few other things that came up with my test cases:
Localized doesn’t seem to accept a namespace. In my example the following wouldn’t work whereas the 2nd snipped worked:
<?xml version=“1.0” encoding=“UTF-8”?><sld:StyledLayerDescriptor xmlns=“http://www.opengis.net/sld” xmlns:sld=“http://www.opengis.net/sld” …
<sld:Title>Design
<sld:Localized lang=“es”>Diseño</Localized>
<sld:Localized lang=“pt”>Design</Localized>
<sld:Localized lang=“ru”>Точность сетки</Localized>
</sld:Title>
working:
<sld:Title>Design
<Localized lang=“es”>Diseño</Localized>
<Localized lang=“pt”>Design</Localized>
<Localized lang=“ru”>Точность сетки</Localized>
</sld:Title>

When uploading a style through the GUI it is not encoded as UTF8 and the internationalised values are mangled. I had to upload them manually into the styles directory instead.

Thank you once again and have a good day

Cheers,
Michael

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v7.0.0-OD-05-005#70102-sha1:a6815c2)

Atlassian logo