[mkgmap-dev] Styles, typ and multiple languages
From Ticker Berkin rwb-mkgmap at jagit.co.uk on Thu Dec 31 11:00:17 GMT 2020
Hi I prefer: --name-tag-list=name:en,int_name,name,place_name,loc_name for most maps, but where the country frequently has parallel naming in a European language, eg French for Morocco, I use: --name-tag-list=name:en,int_name,name:fr,name,place_name,loc_name Adjust above for your own language, but probably leave name:en in the list anyway Ticker On Thu, 2020-12-31 at 09:24 +1100, Joao Almeida wrote: > I've implemented the following; > > created an inc file, with the following code: > > # SETUP Name Translation to display names in correct codepage 1252 > non-unicode > name = * & mkgmap:country=MNG {set name='${name:en}' | '${int_name}' > > '${name:pt}' | '${name:fr}' | '${name}' } #Mongolia > name = * & mkgmap:country=MAR {set name='${name:en}' | '${int_name}' > > '${name:pt}' | '${name:fr}' | '${name}' } #Morocco > name = * & mkgmap:country=MRT {set name='${name:en}' | '${int_name}' > > '${name:pt}' | '${name:fr}' | '${name}' } #Mauritania > name = * & mkgmap:country=DZA {set name='${name:en}' | '${int_name}' > > '${name:pt}' | '${name:fr}' | '${name}' } #Algeria > name = * & mkgmap:country=KAZ {set name='${name:en}' | '${int_name}' > > '${name:pt}' | '${name:fr}' | '${name}' } #Kazakstan > > name = * {name '$(name)'} > > This results in a nicely "readable" map. More countries, just add > more > definitions.
- Previous message: [mkgmap-dev] Styles, typ and multiple languages
- Next message: [mkgmap-dev] Styles, typ and multiple languages
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list