Skip to content
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

Multiple random languages show up (Spanish, English, Hungarian) in same screen #57

Open
soboko opened this issue Oct 16, 2021 · 7 comments

Comments

@soboko
Copy link

soboko commented Oct 16, 2021

So things generally work, but I still see multiple languages appear when using this component, sometimes even within the same screen. Voice navigation and directions are always in English (I'm in the US) but other text often appears in other languages.

In this case I'm seeing a mix of Spanish, English, and Hungarian. An odd mix. Could be a tasty cuisine :) but not ideal for a consumer-facing app.

IMG_E88C8EF55E7D-3

Also, it seems like #21 is still an issue. I have showsEndOfRouteFeedback={false} but I'm still getting the navigation feedback screen, which I don't really want.

Also also, clicking on "End Navigation" here has no effect.

@jimhill
Copy link

jimhill commented Nov 2, 2021

Hey, just to say that I have the exact same as above. And the same with shouldSimulateRoute enabled. And if I click the report a problem icon I get a mix of languages.

Could this be fixed by being able to drop a locale option in here?:

let options = NavigationRouteOptions(waypoints: [originWaypoint, destinationWaypoint])

(Ref: https://docs.mapbox.com/ios/directions/api/1.2.0/Classes/DirectionsOptions.html#/s:16MapboxDirections0B7OptionsC6locale10Foundation6LocaleVvp)

@softwarebyjims
Copy link

I'm having the same issue

@softwarebyjims
Copy link

@soboko and @jimhill Did you ever find a working solution?

@younusmahmood
Copy link

Has anyone found something around this? Mine is only showing russian

@jimhill
Copy link

jimhill commented Feb 22, 2022

Hey there. We actually ended up writing our own smaller lib (as we only needed a small bit) in combination with Swift Package Manager. I know that's not a great answer, but it meant we got to run v2+ rather than 1+. That completely fixed it.

@younusmahmood
Copy link

@jimhill Oh nice, I'm trying to do that but can't find a clear way around using UIViewController since the native modules won't display those. Mind sharing any workaround you have for that with the current versions if you ran into something similar? I'm currently just following the steps here to try and get the map rendered https://docs.mapbox.com/ios/maps/guides/install/

@hamza1216
Copy link

I am still facing this issue. Did anyone manage to get it resolved?
I tested mapbox-navigation-ios-examples whcih is Swift project(https://github.com/mapbox/mapbox-navigation-ios-examples), but it's working properly.
But not working in the react-native project(https://github.com/homeeondemand/react-native-mapbox-navigation).
The difference I found is that the Swift project uses use_framework.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants