NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

This Nominatim page shows the Spanish Pensilvania, instead of Pennsylvania.

In case my Accept-Language is relevant, I have multiple English languages ("en-US", "en", "eng", and more), then eventually "es-es" and "es" lower in the list.

EDIT: When I use curl with no Accept-Language headers, it displays the English name. Looking at the relation looks like the issue is that name is Pennsylvania, but there is no name:en, probably because English is the primary local language.

My request explicitly allows en (preferred, but there is no name:en) and es (allowed, and there is name:es, but less preferred). What's the best way to address this (let me know if I should ask this follow-up separately)? Should name:en be added even though the local language is English?

asked 15 Jul '12, 05:24

mattflaschen's gravatar image

mattflaschen
2266818
accept rate: 0%

edited 03 Jun '13, 02:07

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554


The problem is indeed with the missing name:en tag. Nominatim doesn't know that the name tag in the US should default to English. That is a bug in Nominatim not with your tagging. It is common practice in OSM to leave out the localized name tag (i.e. name:en) if there is only one official language in a country.

Nominatim will update to a new version in a few weeks where the handling of local languages has been improved. So, just ignore the problem for a while and it will hopefully go away by itself.

permanent link

answered 16 Jul '12, 09:22

lonvia's gravatar image

lonvia
6.2k25789
accept rate: 40%

hopefully that'll also fix the US state name showing up in Japanese when you search for cities!

(16 Jul '12, 14:35) neuhausr

Dear Mattflaschen, I should use the original name, but I like the different lanquages. This platform however has accepted English as standard for all. Thats all and Pennsylvania should it be.

permanent link

answered 15 Jul '12, 16:00

Hendrikklaas's gravatar image

Hendrikklaas
9.3k207238387
accept rate: 5%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×689
×72
×39
×9
×2

question asked: 15 Jul '12, 05:24

question was seen: 5,516 times

last updated: 03 Jun '13, 02:07

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum