forked from organicmaps/organicmaps
Using default language as transliteration source if there is no other mwm languages available.
This commit is contained in:
parent
4e18573402
commit
955d43ea1e
1 changed files with 2 additions and 0 deletions
|
@ -49,6 +49,8 @@ void GetTransliteratedName(feature::RegionData const & regionData, StringUtf8Mul
|
|||
return;
|
||||
}
|
||||
}
|
||||
if (!mwmLangCodes.empty() && src.GetString(StringUtf8Multilang::kDefaultCode, srcName))
|
||||
out = Transliterate(srcName, StringUtf8Multilang::GetLangEnNameByCode(mwmLangCodes[0]));
|
||||
}
|
||||
|
||||
void GetBestName(StringUtf8Multilang const & src, vector<int8_t> const & priorityList, string & out)
|
||||
|
|
Loading…
Add table
Reference in a new issue