I have solved with ./graphhopper clean <br>
<br>
<blockquote>
----Messaggio originale----<br>
Da: peathal@yahoo.de<br>
Data: 25-feb-2014 14.30<br>
A: <graphhopper@openstreetmap.org><br>
Ogg: Re: [GraphHopper] R: Re: R: Re: change language info and instruction<br>
<br>
<!--
-->
<div class="moz-cite-prefix">You'll probably have to explain in more
detail what you are doing (step by step) and what is the problem
versus what is expected. E.g. do you need the language of the
instructions in the web UI changed?<br>
<br>
Regards,<br>
Peter.<br>
<br>
<br>
</div>
<blockquote cite="mid:14469379e53.marcosi66@virgilio.it" type="cite">The
first code you have wrote I have already do it but nothing
change.... I change var lang = "en_US" in var lang="it" too...<br>
<br>
<br>
The second code "InstructionList wayList = p.calcInstructions();<br>
wayList.createDescription(trMap.getWithFallBack(Locale.ITALIAN)));"<br>
<br>
Where I can found it or where I have to write this code? in wich
js/java or something else?<br>
<br>
<br>
<br>
<blockquote>
----Messaggio originale----<br>
Da: <a class="moz-txt-link-abbreviated" href="mailto:peathal@yahoo.de">peathal@yahoo.de</a><br>
Data: 25-feb-2014 12.46<br>
A: <a class="moz-txt-link-rfc2396E" href="mailto:graphhopper@openstreetmap.org"><graphhopper@openstreetmap.org></a><br>
Ogg: Re: [GraphHopper] R: Re: change language info and
instruction<br>
<br>
<!--
-->
<div class="moz-cite-prefix">You need to specify locale=it in
the URL (but normally it'll pick the settings from the
browser)<br>
or if you use the API just do:<br>
InstructionList wayList = p.calcInstructions();<br>
wayList.createDescription(trMap.getWithFallBack(Locale.ITALIAN)));<br>
<br>
Peter.<br>
<br>
</div>
<blockquote cite="mid:14468d0b819.marcosi66@virgilio.it" type="cite">Sorry, I didn't explain well, the thing that you
have write I have already did it, The thing I want is that
when I start graphhopper by shell and calculate route the
instruction,that I want to see, will be in Italian not in
English... how can I do it?<br>
<br>
<br>
<blockquote> ----Messaggio originale----<br>
Da: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:peathal@yahoo.de">peathal@yahoo.de</a><br>
Data: 25-feb-2014 12.18<br>
A: "GraphHopper Java routing engine"<a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:graphhopper@openstreetmap.org"><graphhopper@openstreetmap.org></a><br>
Ogg: Re: [GraphHopper] change language info and instruction<br>
<br>
<!--
-->
<div class="moz-cite-prefix">You'll need to add "it" to
TranslationMap.LOCALES - see e.g. this pull requests for
the necessary changes:<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://github.com/graphhopper/graphhopper/pull/153">https://github.com/graphhopper/graphhopper/pull/153</a><br>
<br>
Feel free to create also a pull request to integrate
Italian into GraphHopper :)<br>
<br>
Regards,<br>
Peter.<br>
<br>
<br>
</div>
<blockquote cite="mid:14468bdeb7a.marcosi66@virgilio.it" type="cite">Hello, I want to change the language info and
the instruction in my graphhopper project in Italian
language, I have already create a it.txt and I tried to
use it but It doesn't work, what I have to do? I see that
there are other file txt with other language so I think
this is possible to change...<br>
</blockquote>
</blockquote>
</blockquote>
<br>
</blockquote>
</blockquote>
<br>
<br>
</blockquote><br>