Hi, Robert
I appreciate for your answer.
1.I search for "RouteWidget.xml" in my hard drive (specially in api folder) but I can not find such file name. Could you guide me where the "RouteWidget.xml" file is?
2. Another question is what can we do for unsupported languages like Persian. I would be happy that find a file to hard code the directions instruction(like "go forward" or "start at" )into that. I mean the red line expressions in the following picture.
best regards.
Scott,
The routes language can be set using this tag in the xml
<directionslanguage>nl-NL</directionslanguage>
Here are the supported languages:
"directionsSupportedLanguages": [
"ar",
"cs",
"de",
"es",
"et",
"fr",
"he",
"it",
"ja",
"ko",
"lt",
"lv",
"nl",
"pl",
"pt-BR",
"pt-PT",
"ru",
"sv",
"tr",
"zh-CN",
"en"
]
Hi Robert
Where is the RouteWidget.xml and how I changed to the words that does not exist in default languages like persian?
thanks
Hi,I will change the language of directon widget,I mean the words of red underline in this image, image linkBut,i search in locale language folder and i cant find any word of direction widget(words of red underline in attachment)!!!I try to change language of direction in "DirectionsWidget.xml" with "<directionslanguage>" tag, but i cant change it!Q: Is there any way that change language the words(in attachment image) by tags in DirectionsWidget.xml or by action script or ...?
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.