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

Hello,

i have installed GPSMid with a map of Israel on my phone (Nokia N78). As far as i don't speak (and can't even read much) Hebrew, i would like to change the language of the map to English, like here:

http://toolserver.org/~osm/locale/en.html?zoom=9&lat=31.87056&lon=34.9942&layers=BT

In the maps XML source, the english tags are existent, but by default, GPSMid only shows Hebrew tags.

How can i switch to english tags?

Thank you, barny

asked 26 Sep '11, 21:06

barny2507's gravatar image

barny2507
6112
accept rate: 0%


To change the language, you need to use OSM2GpsMid to build a GpsMid midlet yourself, using a customised style file. See the page on the GpsMid wiki for Style-File Documentation.

Basically, you can get a copy of the default GpsMid style, then open it in a text editor. The name for each object is set with the namekey tag. In the standard style, this will be something like <namekey tag = "name"/>, which means it will use the name tag from the OSM data, ie the default/local name. To change this to use English language names, you will have to change it to <namekey tag = "name:en"/>. So you can use the find and replace in your text editor to change all of these. You may also want to specify something for the namefallback tag, so it will just display the default name if the object isn't tagged with an English language name.

You then you have to modify your OSM2GpsMid properties file to tell it to use your modified style file. See Properties file. Basically add line that says something like style-file = mystyle.xml. Or just use the OSM2GpsMid GUI, and choose the option for "Load custom style file"

Then run OSM2GpsMid, using the GUI if you want, see instructions at Getting started. And use it to produce your midlet, which you can then load onto your phone. And you should have a map with English language names.

permanent link

answered 26 Sep '11, 23:33

Vclaw's gravatar image

Vclaw
9.2k895141
accept rate: 22%

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:

×535
×72
×16
×2

question asked: 26 Sep '11, 21:06

question was seen: 4,979 times

last updated: 26 Sep '11, 23:33

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