<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Did you recompile? E.g.<br>
      ./graphhopper.sh clean<br>
      ./graphhopper.sh web your.osm.pbf<br>
      <br>
      <br>
      Regards,<br>
      Peter<br>
      <br>
      On 09.03.2015 23:20, 高安琪 wrote:<br>
    </div>
    <blockquote
cite="mid:CAGT7ENc6yOEtYnz98ieyPdUp7jpoSH2eBb_Gpe9O+VxooUQZDQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Hi,</div>
        <div><br>
        </div>
        <div>I add a new vehicle type -- lorry.</div>
        <div><br>
        </div>
        <div>I find it shows alt="web.lorry" on the front end as follow.</div>
        <img src="img/lorry.png" alt="web.lorry"><br>
        <div><br>
        </div>
        <div>What I expected is alt="Lorry". So I look through main.js
          and find it uses a TranslationMap to convert some information.
          Then I change the file en_US.txt. (I think it may be a
          TranslationMap?)</div>
        <div><br>
        </div>
        <div>In the file:</div>
        <div>web.car=Car<br>
        </div>
        <div>
          <div>web.foot=Foot</div>
          <div><br>
          </div>
          <div>So I add lorry to this file in the same format.</div>
          <div>web.lorry=Lorry</div>
        </div>
        <div><br>
        </div>
        <div>But it still doesn't work. (It still shows web.lorry on the
          front end)</div>
        <div><br>
        </div>
        <div>Could you please give me some suggestions?</div>
        <div><br>
        </div>
        <div>With many thanks,</div>
        <div>Anqi<br>
        </div>
        <div> </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
GraphHopper mailing list
<a class="moz-txt-link-abbreviated" href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a>
<a class="moz-txt-link-freetext" href="https://lists.openstreetmap.org/listinfo/graphhopper">https://lists.openstreetmap.org/listinfo/graphhopper</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>