mapbox-navigation-android icon indicating copy to clipboard operation
mapbox-navigation-android copied to clipboard

Missing translations in libandroid-navigation-ui

Open sarahthe opened this issue 8 years ago • 7 comments

The buttons in the navigation-ui are only available in English, translations are missing. This includes the buttons for route issues as well as the buttons on screen (re-center, mute etc.).

grafik

sarahthe avatar Dec 15 '17 12:12 sarahthe

Thanks @sarahthe, you are correct here and we are currently prioritizing our localization work. Please stay tuned - as this work progresses, I will update this ticket.

danesfeder avatar Dec 15 '17 14:12 danesfeder

A Transifex project was set up for this SDK in #28, but that was back before we added UI to the SDK.

/cc @langsmith

1ec5 avatar Jan 18 '18 19:01 1ec5

https://github.com/mapbox/mapbox-navigation-android/blob/master/.tx/config

langsmith avatar Jan 18 '18 19:01 langsmith

Hi,

Don't know if my problem is the same but I try to have all my navigation in french (in a Kotlin application) and I've got :

  • voice in french ;
  • voice instruction mixed french / english (streets in french, instructions in english) ;
  • instructions displayed in english ;
  • the time of arrival is in 12h format instead of 24h ;
  • distance en metric system ;
  • all data in API response is in french (maneuver instructions and voice instructions announcement).

I've used directionsLanguage method of NavigationViewOptions :

val options = NavigationViewOptions.builder()
        .origin(origin)
        .destination(destination)
        .awsPoolId(awsPoolId)
        .shouldSimulateRoute(simulateRoute)
        .directionsLanguage(Locale("fra"))
        .navigationOptions(navigationOptions)
        .build()

language and voiceUnits method of NavigationRoute

val navigationRoute = NavigationRoute.builder()
            .accessToken(Mapbox.getAccessToken())
            .language(Locale("fra"))
            .voiceUnits("metric")
            .profile(DirectionsCriteria.PROFILE_DRIVING)

I've tried "fr" and "fr_FR" instead of "fra" but it changes nothing.

screenshot_20180206-152432

sstolz avatar Feb 06 '18 14:02 sstolz

cc: @devotaaabel who was actively working on locale-related PRs and can comment on whether there's anything else needed to resolve above issues.

Guardiola31337 avatar Mar 22 '18 08:03 Guardiola31337

@sstolz Your issue should be fixed now. If it's not, go ahead and create a new issue because it's not related to this ticket.

devotaaabel avatar Mar 22 '18 15:03 devotaaabel

@sstolz feel free to comment/open a new ticket if you can still reproduce OP! Thanks again for reaching out and reporting your issue.

Closing as answered.

Guardiola31337 avatar Apr 06 '18 16:04 Guardiola31337