|
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
|