Skip to content

Providing a translation for the given osm values #5

Description

@Haves1001

I did use this plugin to implement a search on my leaflet map. I'm not totally sure if I should post this here or on the "main" photon github page.

As you can see on the following picture I am trying to display the information of the search result in german (and any other language the user wants to). Unfortunately all key which start with "osm_" (http://photon.komoot.de/api/?q=berlin&lang=de) won't be "translated".
image

I guess this is because they come directly from osm? I don't know what is the best approach to translate those values, but I definitely would like to use them in the search result, as the information that the shown result is a city might be essential for the user.
If you see a way how this could be resolved best, I would be glad to help/support with it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions