Skip to content

More strings to translate on osm.org #2721

Closed

Description

@maro-21

https://osm.org/directions?engine=graphhopper_car&route=40.7860%2C-73.4478%3B40.8097%2C-74.4008#map=10/40.8320/-73.9160

Messages are partly in English, partly in a local language. Some strings are not sent to translate.
"Trzymaj się prawej strony and take NY 110 South toward Amityville"
"Trzymaj się prawej strony and drive toward Cross Island Parkway North, Whitestone Bridge"

Moved from openstreetmap/openstreetmap-website#3882

Activity

  1. karussell commented on Jan 11, 2023

    @karussell
    Member

    We fall back to English when no translation is available (here locale=pl I think?). See our documentation on how to improve this:

    https://github.com/graphhopper/graphhopper/blob/master/docs/core/translations.md

  2. maro-21 commented on Jan 11, 2023

    @maro-21
    Author

    If I add the missing translations, will they also appear on openstreetmap.org?

  3. karussell commented on Jan 11, 2023

    @karussell
    Member

    Yes, please add missing translations there. From time to time we update this and copy it into the source code or ping us after you did the changes.

    And after this it can still take days or sometimes even weeks until it is deployed in production and visible on openstreetmap.org. But usually it is rather days.

  4. maro-21 commented on Jan 11, 2023

    @maro-21
    Author

    I completed* translation for Polish.
    If you could update the translations, I would be grateful.

    *Well, there are two strings I didn't translate because I don't know the context:

    • navigate.for_km "for %1$s kilometers"
    • navigate.then "then"

    If you could give me example sentences with them I would translate them now or later.

  5. added a commit that references this issue on Jan 12, 2023
  6. karussell commented on Jan 12, 2023

    @karussell
    Member

    Have updated it and this is in the code now. (as mentioned above it will still take a few days until this goes into production and is visible on openstreetmap.org)

    there are two strings I didn't translate because I don't know the context:

    Those are part of the server-side navigation module:

    • navigate.for_km: e.g. "follow the road for 12 kilometers"
    • navigate.then: to combine two successive turn instructions. E.g. "in 100 meters turn right, then turn left"
  7. maro-21 commented on Jan 12, 2023

    @maro-21
    Author

    Thanks! I added these translations.

    But I found another missing translation, for which I don't know the context:

    • web.back_to_map "Back"

    Where is it used? I can't find it on this page https://graphhopper.com/maps

  8. karussell commented on Jan 12, 2023

    @karussell
    Member

    It is for the mobile view (only triggered by smaller screens) and when you click on the input field a new view is shown and to return to the original view without clicking on a search suggestion there is a button with the string "Back".

  9. added a commit that references this issue on Mar 21, 2023
  10. added a commit that references this issue on Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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