The voice in my helmet piped up and told me to “take the ramp”.
It was a test ride in November, with a fresh build of Ridelark on the phone and a passenger on the back, and we were heading home along a perfectly ordinary local road.
I had no idea what it meant. I looked (as much as you can look on a motorbike) and there wasn’t a ramp anywhere… just a road, doing what roads do.
What a ramp is, round here
To me a ramp is a physical thing. It’s short, it’s steep, and you either push a wheelbarrow up it or try very hard not to launch a motorbike off it. The closest a British road gets to the word is the odd “on-ramp” for joining a motorway, and even then most of us would call that a slip road and move on.
So when I got home, and once I’d been through the rest of the ride’s feedback (there was a fair bit), I went looking for where the word had come from. I hadn’t written “ramp” anywhere, I was fairly sure of that much.
It came from the routing engine. Ridelark does its routing with Valhalla, an open-source engine that runs happily on the phone with no signal, and Valhalla writes the spoken directions for you in whichever language you ask for. I’d asked for en-GB. And its British English says “ramp” for anything OpenStreetMap tags as a link road, which covers a lot more than motorway slips. Plenty of ordinary connecting roads carry a link tag too, so a perfectly normal turn on a local road came out as a ramp.
That’s the trouble with a phrasebook. Every word in it is right, it’s in the right language, it’s even nominally from the right country… and it still isn’t how anybody there actually talks.
Rewriting the phrasebook
The fix itself is small. Ridelark already tidies up Valhalla’s wording before any of it reaches you (it renames stops part-way along a route, for instance, and says “Rerouting.” when it needs to), so “ramp” became “slip road” in that same step. It’s applied in three places, since the word appears in three: the text the voice speaks, the marked-up version of that text the speech engine actually reads (SSML, if you fancy a search term), and the banner on the screen. Miss one and the phone shows you one thing while it tells you another, which is about the last thing you want at a junction.
The match is on whole words, with a capital “Slip road” when a sentence starts with one, and a test makes sure a street called Rampart keeps its name. I was a bit worried about that one. A sat nav sending you down “Slip roadart Street” would’ve been a lot harder to explain to a passenger.
Then, a couple of weeks later, the word came back, deliberately this time. A phone set to American English now gets Valhalla’s American prompts and an American voice (where the phone has one), and for that rider “ramp” is the right word. So the replacement isn’t hardcoded any more. It lives with the rest of the app’s words, where the American translation of “slip road” is… “ramp”. I quite like that it went all the way round.
The voice with the wrong accent for numbers
The same week brought a cousin of the ramp, and this one was sneakier.
Plenty of countries write a decimal with a comma, so two and a half is “2,5”. The app was turning a distance into words using the phone’s own settings, which sounds sensible until you remember the voice is English whatever the phone is set to. So on a phone set to German, French, Dutch or Polish, the English voice got handed “In 2,5 miles”. And it got a bit worse. The code tidied up a whole number by dropping a trailing “.0”, and “,0” doesn’t match that, so “1 mile” came out as “1,0 miles”!
I’ve no idea how a speech engine reads “2,5 miles” out loud, and I’d rather not find out at 50mph, thanks. Spoken numbers are now always written with a point, whatever the phone thinks, and there’s a test that runs under a comma-writing locale to keep it that way.
The screen is a different story, and there I went the other way. What’s shown on screen follows the phone, because that’s what the rider reads everywhere else. That left the dates looking odd next to it, since they’d been fixed to British English, so a German phone showed “1,5 mi” right beside “Mon 16 Nov”. A couple of days later I made the call that the screen should be the phone’s style throughout, and that “style” means the rider’s whole region, not just their language. English speakers don’t agree on much: a UK phone now shows “16 Nov 2026, 18:45” and a US one “Nov 16, 2026, 6:45 PM”.
So the voice speaks its own language, and the screen speaks the phone’s. Written down like that it sounds obvious. It wasn’t, until a German phone put the two side by side.
Even Greenwich got a look in
One more, because it made me laugh. When a rider sends feedback from the app, it attaches the route they were riding as a GPX file, a plain format that most mapping tools will open. Each point on the route was written with Kotlin’s default number-to-text conversion, which is perfectly happy to switch to scientific notation for a very small number. And a longitude is very small indeed when you’re close to zero degrees.
So a ride within about 70 metres of the Greenwich meridian wrote its longitude as “5.0E-4”, which GPX doesn’t accept. A navigation app built in Britain, tripping over the line the whole world measures from. I’d have put money on that being a joke somebody made up. Points are now written to six fixed decimal places, the same as ride exports already were.
Learning the local lingo
I wouldn’t really call any of these bugs, not in the usual sense. Valhalla’s en-GB is perfectly good English, the phone’s number format is perfectly correct for the phone, and Kotlin’s conversion does what it says on the tin. Each one was right in its own little world and wrong the moment it met a rider, and none of them was the sort of thing I’d have thought to write a test for until it happened.
The phrasebook’s a bit more dog-eared now, with a fair few pages in my own handwriting, and I fully expect the next ride to find another word I’d never have thought to look up…





