This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Localization issue: German translations of city is wrong #9171
Labels
localization
Human language support and internationalization
Comments
fabian-guerra
added
the
localization
Human language support and internationalization
label
Jun 2, 2017
Map labels are not automatically localized. This feature is being tracked in #7031. |
In the meantime, see this example code that automatically localizes into the user’s locale: mapbox-gl-native/platform/macos/app/MapDocument.m Lines 346 to 393 in 66c2a2a
https://github.com/mapbox/mapbox-gl-native/blob/66c2a2a0b7c42e1947f57a412ece66fa8eaac149/platform/macos/app/MGLVectorSource+MBXAdditions.m mapbox/mapbox-plugins-ios#2 tracks building a plugin that encapsulates this code, but for now, you can manually incorporate it into your application. |
@1ec5 I have no access to mapbox/mapbox-plugins-ios#2 |
Not much to see there yet. 😉 But we’re working on it and will open it up as soon as there’s something usable. In the meantime, please try copying the source code linked above. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
iOS and Android:
3.5.4 / 5.0
Steps to trigger behavior
Expected behavior
Mapbox is displaying the names of Cities (München, Köln) in German.
Actual behavior
Mapbox is displaying the names of some Cities (Munich, Cologne) in English.
The text was updated successfully, but these errors were encountered: