diff --git a/generator/osm2type.cpp b/generator/osm2type.cpp index 697da4b35b..718cc285c6 100644 --- a/generator/osm2type.cpp +++ b/generator/osm2type.cpp @@ -138,6 +138,10 @@ namespace ftype ++token; lang = (token ? *token : "default"); + // Do not consider languages with suffixes, like "en:pronunciation". + if (++token) + return false; + // Replace dummy arabian tag with correct tag. if (lang == "ar1") lang = "ar";