Hi,

I add a new vehicle type -- lorry.

I find it shows alt="web.lorry" on the front end as follow.
<img src="img/lorry.png" alt="web.lorry">

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?)

In the file:
web.car=Car
web.foot=Foot

So I add lorry to this file in the same format.
web.lorry=Lorry

But it still doesn't work. (It still shows web.lorry on the front end)

Could you please give me some suggestions?

With many thanks,
Anqi
_______________________________________________
GraphHopper mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/graphhopper

Reply via email to