Search code examples
androidlocalizationskmaps

Navigation Advices from SKMaps 2.5.1 always in English


The navigation advices obtained from SKNavigationManager always are in English. For example: (German language case) The sound advices are correctly received in german but the text advices are still in English. It's strange because if you exchange general_TTS.csv by general.csv config file you can get text advices in german but the sound advices are not received.

Can you help me with some workaround?

Thanks so much in advance!


Solution

  • Right now both audio advices and text advices are created from the same config files making in so that readable text advices (instructions) will only be generated when using the TTS (text to speech) option - when using the "audio files" option you will only get a chain of English file names that indicate what audio files should be played (the content of those audio files will be in German but their names are in English).

    So in your scenario, use

    advisorSettings.setAdvisorType(SKAdvisorSettings.SKAdvisorType.TEXT_TO_SPEECH);
    

    for the desired result.

    More info about the audio/text instruction config file: here and here.