May 22, 2017 at 17:22 #17302
Hi, searching for TagTransformer tutorial I came across this site…I have an android application that use mapsforge and graphhopper, lately we are using a new feauture of mapsforge that is query for pois…we got the poi database but all tags are in english…Is there any way that we could obtain an spanish tag transformer file or any way to generate it quickly? Thanks in advance.May 22, 2017 at 18:16 #17303
EmuxParticipantMay 22, 2017 at 18:59 #17306
I did create the poi database, but I want to replace all tags with its corresponding spanish translation tag. Now, I know that TagTransformer can help, but there are lots of options, so I was wondering if there is any automated process or file to do this.May 23, 2017 at 07:34 #17308
You mean “Name” to “Nombre” aso??
I’m afraid there is no tool for this.
If you want to do this – this means programming a script that search/replaces prior to poi-making, but I’m in doubt that this will work cause I’m pretty shure that the poi-writer need the name:tags.
The other way is to make a translation table within the app that covers most of the tags and replaces the tags bevore rendering on screen.
May 23, 2017 at 08:22 #17311
- This reply was modified 2 years, 3 months ago by ChristianK.
If you mean the POI category titles, those are defined in poi-mapping.xml file.
You can use your own titles (see the guide).May 23, 2017 at 14:45 #17313
As ChristianK says, I want to replace the tags not the categories. The categories are easily translated into my app because they are not a lot…My problem is with the tags that are generated into the database because they are a lot and when I show the poi info it display a lot of tags in english language that can be difficult for those who only know spanish…May 23, 2017 at 15:07 #17315
find this https://github.com/plepe/openstreetmap-tag-translations/blob/master/tags/es.json there is not all translated…but at list is a start.
You must be logged in to reply to this topic.