c# - Changing the language shown in Route Directions on Windows Phone 8.1 -


i've used below code in previous project, in new project i'm working on, seeing unexpected behaviour.

in new project, instead of showing routes in language, routes appear in english.

        geolocator gl = new geolocator();         geoposition geoposition = await gl.getgeopositionasync();          basicgeoposition startlocation = new basicgeoposition();         startlocation.latitude = geoposition.coordinate.latitude;         startlocation.longitude = geoposition.coordinate.longitude;         geopoint startpoint = new geopoint(startlocation);          basicgeoposition endlocation = new basicgeoposition();         endlocation.latitude = -8.1625026;         endlocation.longitude = -34.91712034;         geopoint endpoint = new geopoint(endlocation);          maproutefinderresult routeresult =             await maproutefinder.getdrivingrouteasync(             startpoint,             endpoint,             maprouteoptimization.time,             maprouterestrictions.none);          if (routeresult.status == maproutefinderstatus.success)         {              tboutputtext.inlines.add(new run()             {                 text = "tempo estimado (minutos) = "                     + routeresult.route.estimatedduration.totalminutes.tostring()             });             tboutputtext.inlines.add(new linebreak());             tboutputtext.inlines.add(new run()             {                 text = "distância (quilômetros) = "                     + (routeresult.route.lengthinmeters / 1000).tostring()             });             tboutputtext.inlines.add(new linebreak());             tboutputtext.inlines.add(new linebreak());               tboutputtext.inlines.add(new run()             {                 text = "direções"             });             tboutputtext.inlines.add(new linebreak());              foreach (maprouteleg leg in routeresult.route.legs)             {                 foreach (maproutemaneuver maneuver in leg.maneuvers)                 {                     tboutputtext.inlines.add(new run()                     {                         text = maneuver.instructiontext                     });                     tboutputtext.inlines.add(new linebreak());                 }             }         }         else         {             tboutputtext.text =                 "a problem occurred: " + routeresult.status.tostring();         } 

i wondering if provide input why have happened.

today, unable access microsoft dev account. received following error messege:

you can not view information "19d94f44-625c-4f35-92cb-01e0e55a5587".

thanks!


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -