AnsweredAssumed Answered

Get Route result in different Language

Question asked by shaharbsystematics-co-il-esridist Employee on Dec 10, 2017
Latest reply on Dec 18, 2017 by shaharbsystematics-co-il-esridist

Hi,

I've used this demo

arcgis-runtime-demos-dotnet/src/TurnByTurn at master · Esri/arcgis-runtime-demos-dotnet · GitHub 

i modified it to work locally, with VPTK as basemap and local locators and Network Dataset,
all work well except 1 thing,
how do i change the language of the network result to be in hebrew

var parameters = await task.CreateDefaultParametersAsync().ConfigureAwait(false);
parameters.SetStops(stopList);
parameters.ReturnStops = true;
parameters.ReturnDirections = true;
parameters.DirectionsLanguage = "he";
parameters.RouteShapeType = RouteShapeType.TrueShapeWithMeasures;
parameters.OutputSpatialReference = SpatialReferences.Wgs84;
parameters.DirectionsDistanceUnits = Esri.ArcGISRuntime.UnitSystem.Metric;
parameters.StartTime = DateTime.UtcNow;

 

try to use DirectionsLanguage with the values "he" or "he-IL" didnt work for me.

i have the resources.xml file already localized to hebrew and tried to put it inside

C:\Program Files (x86)\ArcGIS\Desktop10.5\NetworkAnalyst\Directions\he

do i need to put in different place?
it supposed to be offline navigation app, the client will not have ArcMap install on their local machine

 

Thanks,

Shahar.

 

Outcomes