Skip to content

Prop localizeLabels doesn't take effect for changing language of map content.  #284

Closed

Description

@fozhao

Describe the bug
Prop localizeLabels doesn't take effect for changing language of map content

To Reproduce
Add a mapbox map in a react-native project and launch the app on a iOS device which language is Simplified Chinese.

            <MapboxGL.MapView
                style={styles.map}
                accessToken={mapboxToken}
                localizeLabels={true}
                onPress={this.onPress}
            >
                <MapboxGL.Camera
                    animationDuration={1}
                    zoomLevel={4}
                    centerCoordinate={[initialPosition.longitude, initialPosition.latitude]}
                />
            </MapboxGL.MapView>

Expected behavior
With localizeLabels specified as true, the map content (street name, cities, etc) should be displayed in Simplified Chinese.

Actual Result
The map content is still displayed in English.

Versions (please complete the following information):

  • Platfrom: Android, iOS
  • Device: iPhone 7 Plus
  • OS: iOS 12.3.1
  • SDK Version: 7.0.0-rc3
  • React Native Version: 0.59.10

Activity

  1. stale commented on Sep 26, 2019

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  2. fozhao commented on Sep 29, 2019

    @fozhao
    Author

    Wontfix...? Seriously?
    Could anyone from Mapbox take a look at this and at least leave a comment?

  3. kristfal commented on Sep 29, 2019

    @kristfal
    Member

    This is a community project and Mapbox doesn’t support this in any capacity. People here are contributing on their spare time or via capacity of their employer.

    If this is very important to you, feel free to fix this yourself and open a PR.

    Also, that label is added by stalebot when there is no activity in the ticket for a while.

  4. fozhao commented on Sep 29, 2019

    @fozhao
    Author

    Gotcha, thanks. I will see if I have a fix for it.

  5. arnaudambro commented on Nov 14, 2019

    @arnaudambro
    Contributor

    Hi there, any news/tips about map localization ?

  6. stale commented on Jan 13, 2020

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions