I'm probably missing something simple, but I can't find any way to make the main OSM map page appear in another language, e.g. Spanish. I mean show "ayuda" and "buscar" in the menu instead of "help" and "search", etc. I've tried setting browser preferences, and searching the web for help, but no joy. Can anybody help? Thanks.

asked 31 Dec '10, 16:41

tongro's gravatar image

tongro
65691323
accept rate: 0%

edited 04 Mar '14, 20:36

aseerel4c26's gravatar image

aseerel4c26 ♦
32.4k17241554


I seem to have it figured out now. It seems regional varieties of Spanish are not recognised, and the English default page is returned instead. When the client sends the HTTP header "Accept-Language: es-es" an English page is returned, but "es-es,es" or "es" gets a Spanish page. It would surely make more sense to default to the base language "es" if the regional "es-*" is not recognised? Anyway it sort of works now.

Thanks a lot.

permanent link

answered 01 Jan '11, 12:57

tongro's gravatar image

tongro
65691323
accept rate: 0%

edited 01 Jan '11, 13:16

2

Actually, the behavior you describe is correct, and is even specifically noted in RFC 2616 (see the last paragraph of http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.4), mentioning “A user agent might suggest in such a case to add [the base language] to get the best matching behavior.”

(16 Jan '11, 21:52) Mormegil

Yet is there a way to incorporate in the address to the website a language specification? I am thinking of something like http://www.openstreetmap.org/?lang=es or so. Thanks a lot.

(21 Jun '11, 21:53) GastonJumoke

Go to openstreetmap.org, and login to your account. Then click on your user name, in the top right corner, which will take you to your user page. Then click on the link for "My settings".

Part way down that page, there is a box for "Preferred Languages:". So you can enter the codes for the languages you would prefer. For Spanish, just enter es. Then click the button for "Save changes", then the OSM page should be in Spanish (whenever you are logged in).

permanent link

answered 31 Dec '10, 18:43

Vclaw's gravatar image

Vclaw
9.2k893140
accept rate: 22%

1

OK, thanks. However, what I'm looking for is to have the page appearing in Spanish every time for anybody who clicks on a link I supply, or at least for anybody whose browser's locale is set to Spanish. I'm developing a website for Spanish speakers, which contains a link to OSM, and I don't want to be forcing English on them.

(31 Dec '10, 19:52) tongro

Just testing this now:

Using Chromium, changing the accept language in the browser, does change the language on osm.org (if logged out). So all of the page is in Spanish/German etc. But using Firefox, changing the language doesn't make any difference - its all still in English.

I don't know if this is something specific to my setup, or something about Firefox? I have tried clearing all cookies, it doesn't make any difference.

I don't know what browsers you've tried, and what happens with each? Probably worth asking about this on the mailing list, or reporting it on Trac.

(31 Dec '10, 21:50) Vclaw

Many years gone but nothing changed, as far as I can see? So I'd like to ask again - where do we find the setting for the map's language? I don't understand the texts in this thread but I see that still the maps language selection is hidden (or missing??). As the T.O. I'm not asking about settings for registered users or settings for any web site texts, we are talking about the map itself, when any www user from any country takes a look at the map.

permanent link

answered 01 Nov '16, 11:46

micmen's gravatar image

micmen
3912
accept rate: 0%

4

The default map at OpenStreetMap displays whatever is in the 'name' tag for each object, which is usually the local name. So places in England are shown in English, places in France get their French name, and so on. There is no option to change this on osm.org - the technology currently used to draw the maps doesn't make it practical.

(01 Nov '16, 13:16) Richard ♦

Sounds like a really bad idea? Ich had a look at an area in middle east and everything was in any eastern letters, I couldn't even see, what countries that were... Doesn't make sense?? OSM programmers thought, that every user all over the world will only look at maps around the own home country?? That's a mistake, they definately will NOT...

(01 Nov '16, 14:42) micmen
2

The "Standard" rendering at openstreetmap.org is intended for the use of mappers to check their work, which will generally be in their native language. It's only one of many different renderings, so I'm sure there's another one out there that can be set to render in specific languages. Anyway, the original question was about the language of the website itself, not the rendered tiles.

(01 Nov '16, 15:58) alester

It turns our the content is not multi-language. The servers have only one set of tiles and they use the default language in the OSM database. To have the content in a different language you will have to use a rendering engine that have it in your language. Some mobile apps like OSMand I think support multiple languages. There are many rendering engines for OSM. But the openstreetmap.org site itself does not do that. So as you saw when you change the language in the web page, only the interface changes. The tiles are statif. They simply do not compute multiple tile sets. The mapping pages of Google and Apple amont other, have moved to a vector based rendering years ago. In such a system text is text and it is easy to flip language. But with a tile-based engine the text is built into the tiles as pixels and it it is not possible without computing a completely separate set of tiles.

permanent link

answered 30 Dec '20, 14:38

Martin%20Chalifoux's gravatar image

Martin Chali...
39113
accept rate: 0%

.. and if you do want a different language of a classic openstreetmap-carto like raster map (or close to that), check out the sites of local chapters like e.g. https://www.openstreetmap.fr, that publishes a map in french as well as in breton (often only for a region, but some also worldwide) or check out my project at https://www.osmap.info where you'll find ten different language versions of the world map.

(30 Dec '20, 14:47) Spiekerooger

Guys, the original question is specifically on the language displayed on the web site. If you want to discuss the language of the map labels please start a new question.

(31 Dec '20, 13:31) TZorn

Yes, I see. You will I think understand that it is not obvious that the language of the map is a different question to the language of the website containing the map. But this is clear now.

(31 Dec '20, 13:36) Jim Killock
-1

I think the core issue here is that openstreetmap.org is a tile based rendering engine, not vector based. The engine generates one set of tiles using the default language. The text you see is part of the tiles, in the bitmap. It is not a text+fond as you may think it is. Generating many languages would require many sets of tiles (bitmaps), costly and not practical. Other map engines such as Google and Apple has moved to a vector based engine and this sort of stuff is much better handled. But this is a whole different technology to implement.

permanent link

answered 14 Dec '18, 17:25

Martin%20Chalifoux's gravatar image

Martin Chali...
39113
accept rate: 0%

-1

What a.. I'm in Thailand in'm a foreigner here. I really need a map. And I can't read ANY caption on openstreetmap. I'm here for 1 week only, sorry I can't learn local language that fast.

Englist mtf! Do you speak it???

permanent link

answered 16 Nov '19, 03:11

yoreck's gravatar image

yoreck
102
accept rate: 0%

Hi yoreck, first of all - some netiquette would be nice.

Openstreetmaps thailand map serves the about 70 million people of Thailand and is therefor rendered in their local language.

If you do need a map of thailand with english labels try a different layer on openstreetmap.org (cycle or transport have some english labels) or try this one where you get english labels if they are present in openstreetmap data or otherwise transliterated thai labels.

(16 Nov '19, 13:55) Spiekerooger
-1

Welsh not appearing on map

Hi, I am having problems with this. I have set the language in both browser to "cy" and personal preferences to "cy-gb, cy". This changes the interface language, but for me, as you can see on the streenshot I am getting English-language content despite the map data / Wikidata names being pretty well translated.

It strikes me that the map should default to the browser preference language, as well as the user preference, so any ideas why this is happening would be appreciated.

permanent link

answered 30 Dec '20, 13:40

Jim%20Killock's gravatar image

Jim Killock
582614
accept rate: 0%

edited 30 Dec '20, 13:42

The map you see is built out of raster tiles - pngs with the local language applied from the name tag. Therefor the language on the map can't change at osm.org. A map version in cy can be found at https://www.openstreetmap.cymru .

(30 Dec '20, 14:35) Spiekerooger

Thanks, shame the site is rather slow and just Wales, but thank you all the same.

(30 Dec '20, 17:04) Jim Killock

Guys, the original question is specifically on the language displayed on the web site. If you want to discuss the language of the map labels please start a new question.

(31 Dec '20, 13:31) TZorn
Your answer
toggle preview

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:

×88
×67
×16

question asked: 31 Dec '10, 16:41

question was seen: 28,519 times

last updated: 31 Dec '20, 13:36

powered by OSQA