Initial public NavFrame release with global regional package pipeline

This commit is contained in:
dasemu committed 2026-09-30 17:34:58 +02:00
commit d863f2b940
143 files changed
+17906

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
# Navigation voice languages
Settings offers Spanish (the existing default), English, German, French, Italian,
and a system-language option. Regional language variants map to the supported
Valhalla locale. An unsupported system language uses English consistently for
routing instructions, speech templates and Android TTS.
The preference applies to newly calculated routes. An active route retains the
language of its server-provided maneuver text until it is replaced, so existing
instructions are not spoken with a newly selected language's voice. Status
announcements and optional speed-camera speech use that route's language too.
Android's configured TTS engine must provide the selected language. NavFrame
prefers an installed voice that works offline and reports whether the selected
voice needs Internet. If language data is missing or unsupported, speech is
unavailable; install voice data using the Android voice settings button. Map
rendering and navigation remain available. Valhalla routing itself still needs
Internet.
Tests cover preserved Spanish defaults, locale mapping, English checkpoints,
localized alerts, selected request language, and system-language fallback.
API references: [Valhalla locale files](https://github.com/valhalla/valhalla/tree/master/locales),
[Android TextToSpeech](https://developer.android.com/reference/android/speech/tts/TextToSpeech),
and [Android Voice](https://developer.android.com/reference/android/speech/tts/Voice).