Hi team, While using OSM background tiles, can we make the display of tiles based on the language selection like all labels in French, Russian etc. Also is it possible to display labels only in English ignoring localization. Regards, Pavan

asked 20 Oct '20, 05:43

Pavan%20Kumar%20J's gravatar image

Pavan Kumar J
1112
accept rate: 0%


If you are using pre-rendered raster tiles, you are stuck with whatever your provider chose to show.

If you are using vector tiles then it may be possible to configure them to display another label depending on who has produced them.

In terms of raw data if you're creating your own tiles, the name of an object is normally recorded in the name tag in the local language or according to local convention if there are multiple local languages. Names in specific languages are recorded in separate tags identified by the ISO language code e.g. name:en. These tags are not always present so you will need some form of fallback in case the English name is not recorded anywhere. See the multilingual names page on the wiki for more information.

permanent link

answered 20 Oct '20, 08:39

InsertUser's gravatar image

InsertUser
7.8k647130
accept rate: 20%

There are several projects that use not the local language for a region, but display all labels (if existent) in English, French, etc. Some of them also use transcribing of local names. I don't know of an example showing only Russian labels worldwide, but for a selection of European languages you'll find examples through https://www.osmap.info for raster tiles.

See https://wiki.openstreetmap.org/wiki/Map_internationalization for more info and a list of vector and raster tiles with non-local labeling.

permanent link

answered 20 Oct '20, 08:58

Spiekerooger's gravatar image

Spiekerooger
1.4k1327
accept rate: 17%

edited 20 Oct '20, 09:10

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:

×263
×58
×20
×13

question asked: 20 Oct '20, 05:43

question was seen: 271 times

last updated: 20 Oct '20, 09:10

powered by OSQA