heremaps / here-android-sdk-examples

Java-based projects using the HERE SDK for Android.
Apache License 2.0
145 stars 191 forks source link

FtcrNavigationManager and languages for VoiceGuidance #437

Closed Strikelon closed 3 years ago

Strikelon commented 3 years ago

Hello!

Could, you please answer my question!

As I read at this article : https://developer.here.com/documentation/android-premium/3.18/dev_guide/topics/fleet-telematics-custom-route.html

FtcrNavigationManager does not support voice guidance.

image

But when I tried FtcrNavigationManage, I heard voice guidance recommendations in English, and such behavior was during the whole route. As I understand it was default behavior.

Unfortunately English is not matched our requirements, we need French.

Are there any solutions to change language in FtcrNavigationManager, or we can only use English or turn voice guidance volume off?

Thank you!

NazarKacharaba commented 3 years ago

Hi @Strikelon This page should have beed updated. It now supports voice guidance.

// Try this to fetch maneuver's instruction in French.
FTCRRouteOptions options = new FTCRRouteOptions();
//  de-de, en-us, it-it, fr-fr, es-es, pt-pt, pl-pl, zh-cn, zh-tw, zh-hk and ja-jp are supported. If not specified, en-us is used.
options.addParameter("language", "fr-fr");
Strikelon commented 3 years ago

Hello! I tried it, but navigationManager persists speaking English.

Should French maneuver's instruction appear in some listener? NavigationManager speaks English with out fetching any maneuver's instruction, this behavior is by default.

Thank, you.

NazarKacharaba commented 3 years ago

It should work in the latest 3.18 release