This object is in archive! 

Compact text generation in name element

0709 shared this question 5 years ago
Answered

By Locus_Brouter or Locus_GraphHopper

By (personalised) en.tts and nl.tts edit I obtain compact audio instructions.

Q: How to create (personalised) compact text in the <name> element ?

Example.

Actual result: (right_sharp) by Brouter.

Scherpe bocht naar rechts

Prefer:

Scherp rechts

Replies (1)

photo
1

Hello Willy,

hmm I'll need a little more info please because it is not clear to me what you try to achieve.

By <name> you mean some value in GPX? Because turn instructions are defined in tts file as well. For example your sharp right is there as

/168bc255eadfda85fdd577ac940e4164

Menion

photo
1

By personalised nl.tts and en.tts. The TTS compact orders sounds fine. No problem.

It is about a more compact text in the visual name element.

Eventually (no must) put long(er) text only in cmt or desc.

See picture. Actual and a prefered "compact" version.

Not launching "New idea" only a question, that's all ;-)

Is such a compact result by direct original router generator out possible ?

+/- Similar to the tts (sound only) solution.


Maybe the texts are in the general "public" crowdin ? A change there could cause conflicts with other [NL][EN] opinions. (So = not prefered method)

2bdeca308b56c2ebfe5d61d9322c93c2

photo
1

Hello Willy,

it took me a while to discover from where these points come from. In the case of BRouter, they are really generated from the translations made on the Crowdin.

Translations are really really old and I also agree that they should be simplified/shorter, so highly suggest to improve translations as most easy useful solution here: https://crowdin.com/translate/menion/3292/en-nl#2571314 .

Menion

Replies have been locked on this page!