Customize gpx export of navigation instruction names

Started by Mick FU, October 12, 2025, 08:57:34

0 Members and 2 Guests are viewing this topic.

Mick FU

Hi,
I was little offtopic in my last message ( here ), i am openening this post for my question.
I am preparing routes, using Locus to export them through gpx files to be imported in my sport watch.
Navigation instructions seems to follow the app/system language, and in my own language (french) some instructions are too long and i would like to customize them.
example : a "left_sharp" instruction is, in french, "Tournez complètement à gauche" (it doesn't fit on my watch screen 🤣 )

I would need/want to change the gpx export instruction waypoint names <wpt> ;)
See two trials, one made with my phone in english (UK) and wp name are in english, like on Locus route preview, and one in french (FR), same, like in Locus.
You cannot view this attachment. You cannot view this attachment.


It seems not to be linked to tts file.
I don't have any tts file for my french language in my locus folder, just EN ones, and Locus is still able to change instructions per language in the route instructions.

Is it customizable somewhere else ? in router data (using internal lorouter (mainly offline)) ? Or is it hardcoded (which would be quite strange) ?

Thanks in advance Locus experts ;)
@Menion ?

  •  

0709

@Mick FU
Add a custom fr.tts file as described here.
https://help.locusmap.eu/topic/38806-read-the-waypoint-by-voice-text#comment-155768
https://github.com/asamm/locus-map-tts-commands
https://github.com/asamm/locus-map-tts-commands/blob/master/src/main/assets/tts_commands/fr.tts


These tts file edits are extremely sensitive to errors.
The slightest editing error will cause Locus to revert to default.
Add a personal test sentence to the modified file.
Change: "tts_set": "Synthèse vocale correctement configurée",
for example to: "tts_set": "Du pain, du vin, du Boursin",
Locus navigation.
Select TTS in the navigation panel. You should hear the custom test sentence.
If not, your tts file edit is incorrect.
Proceed step by step when making changes.
Test regularly to see if you can still hear the special test sentence.
Locus Pro Classic 3.70.15 - Locus map 4.29.0
  •  

Mick FU

Thankz @0709,
But I don't want tts messages to be changed, but the routing instructions wayoints names to be changed when exported to gpx . Or you are saying that it is the same? 🤔
I tried modifying fr.tts file, tts_set is well pronounced according to my change, but direction wpt names are not changed.

It looked like a good idea for tts, but not for wpt names 😭 (or missed something)

  •  

0709

Yes, you are correct, only for TTS. This is indeed not transferred into the <name>.:'(
Locus Pro Classic 3.70.15 - Locus map 4.29.0
  •  

0709

@Mick FU

Better ask thé locus team for assistance in the helpdesk here.

https://help.locusmap.eu/
Locus Pro Classic 3.70.15 - Locus map 4.29.0
  •