Marco Volpini ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5a129c3cb35ed9014cf6b480
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiMGY3ZGQ0N2UxZWI2NDI5NWEyYTVlNDFlZDk5YjRkOTIiLCJwIjoiaiJ9
 ) / New Feature ( 
https://osgeo-org.atlassian.net/browse/GEOS-10129?atlOrigin=eyJpIjoiMGY3ZGQ0N2UxZWI2NDI5NWEyYTVlNDFlZDk5YjRkOTIiLCJwIjoiaiJ9
 ) GEOS-10129 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10129?atlOrigin=eyJpIjoiMGY3ZGQ0N2UxZWI2NDI5NWEyYTVlNDFlZDk5YjRkOTIiLCJwIjoiaiJ9
 ) Add language function for multilingual support in sld ( 
https://osgeo-org.atlassian.net/browse/GEOS-10129?atlOrigin=eyJpIjoiMGY3ZGQ0N2UxZWI2NDI5NWEyYTVlNDFlZDk5YjRkOTIiLCJwIjoiaiJ9
 )

Issue Type: New Feature Assignee: Marco Volpini ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5a129c3cb35ed9014cf6b480
 ) Created: 30/Jun/21 10:42 AM Priority: Medium Reporter: Marco Volpini ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5a129c3cb35ed9014cf6b480
 )

A new language function will retrieve the AcceptLanguages parameter value from 
the request, so that can be used in sld to support multilingual labels.
The sld needs to use the recode transformation function with the language 
function result as a parameter eg.

> 
> 
> 
> <TextSymbolizer>
> <Label>
> <ogc:Function name="Recode">
> <ogc:Function name="language"/>
> 
> 
> 
> <ogc:Literal>en</ogc:Literal>
> <ogc:Literal>name_en</ogc:Literal>
> 
> 
> 
> <ogc:Literal>it</ogc:Literal>
> <ogc:Literal>name_it</ogc:Literal>
> 
> 
> 
> <ogc:Literal>fr</ogc:Literal>
> <ogc:Literal>name_fr</ogc:Literal>
> </ogc:Function>
> </Label>
> <Fill>
> <CssParameter name="fill">#000000</CssParameter>
> </Fill>
> </TextSymbolizer>
> 
> 

( 
https://osgeo-org.atlassian.net/browse/GEOS-10129#add-comment?atlOrigin=eyJpIjoiMGY3ZGQ0N2UxZWI2NDI5NWEyYTVlNDFlZDk5YjRkOTIiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10129#add-comment?atlOrigin=eyJpIjoiMGY3ZGQ0N2UxZWI2NDI5NWEyYTVlNDFlZDk5YjRkOTIiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100166- 
sha1:cc21667 )
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to