Change map dependent on language?
I've gotten pretty far in the WF5 and Web translation - its awesome - but it seems the road ends at the ESRI web map - Results List and Details revert to the ESRI map.
Is it possible in Web 5.8 to change the ESRI Web Map dependent on the language detected by the browser? On init, if en, use map-en, else if es, use map-es, else map-en?
Or can the feature list and description templates be set inside Web at all?
-
Hi Andrew,
This is currently not supported but feel free to submit an Idea for this functionality.
Thanks, Stefan
0 -
Thanks for the reply. I ended up getting this working if anyone comes into this. Added an extra field on my data named locale. In Workflow, grab locale, loop over query results, and update the locale field.
Inside the web map, arcade for feature label and descriptions. In arcade, check what the locale field is set to, translate feature labels/descriptions depending on this.
Since web uses the feature label as the map label with the results component, the web map ends up translated.
0 -
@Andrew Adamson? That is a clever solution. Has this continued to work reliably for you and been relatively easy to maintain and keep up to date?
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
3 commentaires