<div dir="ltr">Hello,<div><br></div><div>The path indicated for graphhopper files is: <a href="https://github.com/graphhopper/graphhopper-ios/blob/master/graphhopper-ios-sample/graphhopper-ios-sample/Directions.m#L78">https://github.com/graphhopper/graphhopper-ios/blob/master/graphhopper-ios-sample/graphhopper-ios-sample/Directions.m#L78</a></div><div><br></div><div>On the other hand, as you said the translation files are loaded from classpath, but I don't know how to change it it ios.</div><div><br></div><div>Concretely, this line appears inside the doImport method, which I suppose is related with the translations path:</div><div>
<p class=""><span class="">trMap doImportWithJavaIoInputStream:[[IOSClass classWithClass:[TranslationMap class]] getResourceAsStream:JreStrcat(</span><span class="">"$$"</span><span class="">, locale, </span><span class="">@".txt"</span><span class="">)]];</span></p><p class=""><span class="">Any idea about how to change it?</span></p><p class=""><br></p><p class="">Thank you.</p><p class="">Best regards,</p><p class="">Jordi Urmeneta.</p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 11 May 2015 at 13:13, <span dir="ltr"><<a href="mailto:calinseciu@gmail.com" target="_blank">calinseciu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div dir="ltr" style="font-family:'Calibri','Segoe UI','Meiryo','Microsoft YaHei UI','Microsoft JhengHei UI','Malgun Gothic','sans-serif';font-size:12pt"><div>The initialization of GraphHopper<a href="https://github.com/graphhopper/graphhopper-ios/blob/master/graphhopper-ios-sample/graphhopper-ios-sample/Directions.m#L80" target="_blank"></a> (in the sample app) happens here <a href="https://github.com/graphhopper/graphhopper-ios/blob/master/graphhopper-ios-sample/graphhopper-ios-sample/Directions.m#L80" target="_blank">https://github.com/graphhopper/graphhopper-ios/blob/master/graphhopper-ios-sample/graphhopper-ios-sample/Directions.m#L80</a> and no paths are set at this time.</div><div><br></div><div>The actual loading of the translation files happen in GraphHopper itself, I think here <a href="https://github.com/graphhopper/graphhopper/blob/ios-compat/core/src/main/java/com/graphhopper/GraphHopper.java#L92" target="_blank">https://github.com/graphhopper/graphhopper/blob/ios-compat/core/src/main/java/com/graphhopper/GraphHopper.java#L92</a></div><div>So as you can see the `doImport()` method loads the translation files from classpath.</div><div><br></div><div>I am not sure how this can be changed, but I think this is a question more suited for GraphHopper than the iOS port.</div><div><br></div><div><br></div><div style="padding-top:5px;border-top-color:rgb(229,229,229);border-top-width:1px;border-top-style:solid"><div><font face=" 'Calibri', 'Segoe UI', 'Meiryo', 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Malgun Gothic', 'sans-serif'" style="line-height:15pt;letter-spacing:0.02em;font-family:"Calibri","Segoe UI","Meiryo","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","sans-serif";font-size:12pt"><b>From:</b> <a href="mailto:jordi.urmeneta@gmail.com" target="_blank">Jordi Urmeneta</a><br><b>Sent:</b> Monday, May 11, 2015 1:42 PM<br><b>To:</b> <a href="mailto:graphhopper@openstreetmap.org" target="_blank">GraphHopper</a></font></div></div><div><div class="h5"><div><br></div><div dir=""><div dir="ltr">Hello,<div><br></div><div>Do you happen to know if it's possible to change the route of the translations? I mean, the translations folder is needed to be always in the same path.</div><div><br></div><div>Could I indicate another path?</div><div><br></div><div><br></div><div><br></div><div>Thank you!!</div><div><br></div><div><br></div><div>Best regards,</div><div><br></div><div>Jordi Urmeneta.</div><div><br></div></div>
</div></div></div></div>
</div>
<br>_______________________________________________<br>
GraphHopper mailing list<br>
<a href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/graphhopper" target="_blank">https://lists.openstreetmap.org/listinfo/graphhopper</a><br>
<br></blockquote></div><br></div>