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.0k16238549


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

1

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.1k891140
accept rate: 22%

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
25
accept rate: 0%

3

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 ♦
-1

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
1

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

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...
26112
accept rate: 0%

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:

×87
×63
×16

question asked: 31 Dec '10, 16:41

question was seen: 18,817 times

last updated: 14 Dec '18, 17:25

powered by OSQA