Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openstreetmap-carto-en #35

Open
glivolsi opened this issue May 23, 2018 · 3 comments
Open

openstreetmap-carto-en #35

glivolsi opened this issue May 23, 2018 · 3 comments

Comments

@glivolsi
Copy link

I need to make it in english, can you publish a TODO to make it myself...!!

Tnx

@giggls
Copy link
Owner

giggls commented May 23, 2018

The "de" here is not about localization but about German road colors etc.

Localization is in a different project, where the target language can be selected:
https://github.com/giggls/mapnik-german-l10n

So what do you want exactly?
"OSM carto" with english localization or "OSM carto de" with english localization?

Both can be done quite easily. All you need to do is to call apply-views.sh with the desired language. For the second version there is a branch here called upstream+l10n.

In fact I have a tileserver running at my workplace with both variants and english localization:
OSM carto: https://tile.iosb.fraunhofer.de/#map=12/49/8.41/3
OSM carto de: https://tile.iosb.fraunhofer.de/#map=12/49/8.41/5

@glivolsi
Copy link
Author

glivolsi commented May 24, 2018

Tnx for the answer,
first of all i need that the names on map are in english this because chinese or arabic names are cryptic for latin peoples, but i need (italy and not italien) so i've installed an my postgres the extensions from https://github.com/giggls/mapnik-german-l10n, but i like the German road colors too, etc...!!
But i need it in english ..!!

Tnx again

@giggls
Copy link
Owner

giggls commented May 24, 2018

I updated INSTALL-de.md to reflect the way I use for other target languages.

Here is what happens in the background:

The database views contain four virtual columns which call osml10n functions. They are created like this:
osml10n_get_placename_from_tags(tags,true,false,chr(10),'de',way) as localized_name_second

Now if your target language ist not German all you need to do is to replace de by en before applying the views. The provided script will do this for you as documented in INSTALL-de.md. It is of course also possible to use it as a target language.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants