-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Nearby map is not localized #2335
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
Comments
@nicolas-raoul Hi. I think this may be because wikimedia tiles are not correctly loaded into nearby map. You can see the nearby map with wikimedia tiles in above PR. |
@nicolas-raoul I found that Mapbox android sdk has a localization plugin https://github.com/mapbox/mapbox-plugins-android/tree/master/plugin-localization. I will see if it can help with the localization problem you mentioned. |
…pp#2335) Update mapbox sdk version to 7.1.2 and add localization plugin. With this change the nearby map can display place labels in android system language which can be changed by the user.
The screenshot on the left (in the post just above) looks like what would be ideal I think (in terms of language). For privacy reasons, I am afraid we can not use mapbox tiles though (that would reveal the user's IP address to a third party). |
The best solution would be that wikimedia tiles support mapbox localization plugin. So we can have both :-) I checked that in current Google Play store's Commons app we actually are using mapbox tiles, the wikimedia tiles are not used indeed(Because of the code that changed to wikimedia tiles somewhat does not do its work). To distinguish these two tiles, mapbox tiles are a little brighter than wikimedia tiles(See above screenshots). |
…pp#2335) Wikimedia tiles support adding a "?lang=xx" suffix to tiles url to set preferred language. Use this feature to set the preferred language to user's default Locale.
…pp#2335) Wikimedia tiles support adding a "?lang=xx" suffix to tiles url to set preferred language. Use this feature to set the preferred language to user's default Locale.
…pp#2335) Wikimedia tiles support adding a "?lang=xx" suffix to tiles url to set preferred language. Use this feature to set the preferred language to user's default Locale.
Steps to reproduce:
Was also the topic of the closed issue #669
The text was updated successfully, but these errors were encountered: