Missing voice instructions for Catalan language in Android platform #3568

Closed
opened 2022-10-09 11:25:58 +00:00 by jmontane · 5 comments
jmontane commented 2022-10-09 11:25:58 +00:00 (Migrated from github.com)

Catalan language support was added recently. Voice instructions work fine at iOS, but I'm unable to get voice instructions in Catalan language at Android platform.

Google Android TTS device engine doesn't support Catalan language. So, I read this guide.

I installed a third party TTS engine, but Organic Maps ignore it. I'm unable to activate voice instructions. So, Organic Maps doesn't provide Catalan voice instructions.

Espeak-ng is an open source TTS engine with poor quality Catalan support. Installing espeak-ng activates Organic Maps voice instructions menu, but Catalan isn't available at language list. So, Organic Maps doesn't provide Catalan voice instructions.

Is there any way to Organic Maps manage third party Android TTS engines? Or, otherwise, Could Organic Maps use Google on-line TTS to languages not supported by Android TTS?

Catalan language support was added recently. Voice instructions work fine at iOS, but I'm unable to get voice instructions in Catalan language at Android platform. Google Android TTS device engine doesn't support Catalan language. So, I read [this guide](https://mapsme.zendesk.com/hc/en-us/articles/208628985-How-can-I-check-TTS-settings-on-my-Android-device-). I installed a [third party TTS engine](https://play.google.com/store/apps/details?id=es.codefactory.vocalizertts&hl=en&gl=US), but Organic Maps ignore it. I'm unable to activate voice instructions. So, Organic Maps doesn't provide Catalan voice instructions. Espeak-ng is an open source TTS engine with poor quality Catalan support. Installing espeak-ng activates Organic Maps voice instructions menu, but Catalan isn't available at language list. So, Organic Maps doesn't provide Catalan voice instructions. Is there any way to Organic Maps manage third party Android TTS engines? Or, otherwise, Could Organic Maps use Google on-line TTS to languages not supported by Android TTS?
biodranik commented 2022-10-10 22:22:39 +00:00 (Migrated from github.com)

Did you try to restart the app and reboot the device? Some users reported that it helped them.

Also, there were reports that installing RHVoice in addition to eSpeak somehow activates eSpeak.

If it won't help, please enable logs in OM settings, restart the app, and send us logs via "?" -> Report a bug, we'll take a look at TTS.

Did you try to restart the app and reboot the device? Some users reported that it helped them. Also, there were reports that installing RHVoice in addition to eSpeak somehow activates eSpeak. If it won't help, please enable logs in OM settings, restart the app, and send us logs via "?" -> Report a bug, we'll take a look at TTS.
jmontane commented 2022-10-11 14:50:32 +00:00 (Migrated from github.com)

Restarting app and rebooting device don't help. Neither installing RHVoice, which lacks Catalan voice support.

I think I found the cause. Catalan language is missing in strings-tts.xml file. I guess adding language code ca

<item>en</item>
<item>ru</item>
<item>ca</item>
<item>cs</item>
<item>da</item>
...

and language name Catalan...

<item>English</item>
<item>Русский</item>
<item>Català</item>
<item>Čeština</item>
...

will do the trick. I can make a PR with these changes, but I'm unable to test them (I'm not a programmer).

Restarting app and rebooting device don't help. Neither installing RHVoice, which lacks Catalan voice support. I think I found the cause. Catalan language is missing in [strings-tts.xml file](https://github.com/organicmaps/organicmaps/blob/master/android/res/values/strings-tts.xml#L19). I guess adding language code `ca` > <item>en</item> <item>ru</item> <item>ca</item> <item>cs</item> <item>da</item> ... and language name `Catalan`... > <item>English</item> <item>Русский</item> <item>Català</item> <item>Čeština</item> ... will do the trick. I can make a PR with these changes, but I'm unable to test them (I'm not a programmer).
Misalf-git commented 2022-10-11 15:34:14 +00:00 (Migrated from github.com)

FWIW, for eSpeak to function, I have to explicitely set the TTS language to anything but "System language".
Choosing it automatically doesn't seem to work.

Android 12, Lineage based + microG

FWIW, for eSpeak to function, I have to explicitely set the TTS language to anything but "System language". Choosing it automatically doesn't seem to work. Android 12, Lineage based + microG
biodranik commented 2022-10-11 22:32:30 +00:00 (Migrated from github.com)

I can make a PR with these changes, but I'm unable to test them (I'm not a programmer).

Please do. Then you can download a zipped apk from this PR and test it on your device.

> I can make a PR with these changes, but I'm unable to test them (I'm not a programmer). Please do. Then you can download a zipped apk from this PR and test it on your device.
jmontane commented 2022-10-12 08:59:38 +00:00 (Migrated from github.com)

I've tested it. It works like a charm. All tested TTS engines with Catalan language support, Google TTS, espeak NG, and CTV Vocalizer, provide voice indications in Catalan language at Organic Maps

I've tested it. It works like a charm. All tested TTS engines with Catalan language support, Google TTS, espeak NG, and CTV Vocalizer, provide voice indications in Catalan language at Organic Maps
This repo is archived. You cannot comment on issues.
No labels
Accessibility
Accessibility
Address
Address
Android
Android
Android Auto
Android Auto
Android Automotive (AAOS)
Android Automotive (AAOS)
API
API
AppGallery
AppGallery
AppStore
AppStore
Battery and Performance
Battery and Performance
Blocker
Blocker
Bookmarks and Tracks
Bookmarks and Tracks
Borders
Borders
Bug
Bug
Build
Build
CarPlay
CarPlay
Classificator
Classificator
Community
Community
Core
Core
CrashReports
CrashReports
Cycling
Cycling
Desktop
Desktop
DevEx
DevEx
DevOps
DevOps
dev_sandbox
dev_sandbox
Directions
Directions
Documentation
Documentation
Downloader
Downloader
Drape
Drape
Driving
Driving
Duplicate
Duplicate
Editor
Editor
Elevation
Elevation
Enhancement
Enhancement
Epic
Epic
External Map Datasets
External Map Datasets
F-Droid
F-Droid
Fonts
Fonts
Frequently User Reported
Frequently User Reported
Fund
Fund
Generator
Generator
Good first issue
Good first issue
Google Play
Google Play
GPS
GPS
GSoC
GSoC
iCloud
iCloud
Icons
Icons
iOS
iOS
Legal
Legal
Linux Desktop
Linux Desktop
Linux packaging
Linux packaging
Linux Phone
Linux Phone
Mac OS
Mac OS
Map Data
Map Data
Metro
Metro
Navigation
Navigation
Need Feedback
Need Feedback
Night Mode
Night Mode
NLnet 2024-06-281
NLnet 2024-06-281
No Feature Parity
No Feature Parity
Opening Hours
Opening Hours
Outdoors
Outdoors
POI Info
POI Info
Privacy
Privacy
Public Transport
Public Transport
Raw Idea
Raw Idea
Refactoring
Refactoring
Regional
Regional
Regression
Regression
Releases
Releases
RoboTest
RoboTest
Route Planning
Route Planning
Routing
Routing
Ruler
Ruler
Search
Search
Security
Security
Styles
Styles
Tests
Tests
Track Recording
Track Recording
Translations
Translations
TTS
TTS
UI
UI
UX
UX
Walk Navigation
Walk Navigation
Watches
Watches
Web
Web
Wikipedia
Wikipedia
Windows
Windows
Won't fix
Won't fix
World Map
World Map
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: organicmaps/organicmaps-tmp#3568
No description provided.