Luca Casonato ๐Ÿณ๏ธโ€๐ŸŒˆ @lcas.dev ยท Dec 28

Trenitalia's internal API for getting the real-time travel info for a train has a beautiful translation error: the platform identifier field is called `binary`, because in Italian, platform is "binario".

28 likes 4 replies

?

Replies

Niklas Stadigs ยท Dec 29

And the value is "2" ๐Ÿ˜‚

Giacomo Cavalieri ยท Dec 28

This is sending me

Luca Casonato ๐Ÿณ๏ธโ€๐ŸŒˆ ยท Dec 28

This endpoint has another great design choice: the departure and arrival data is stored in two arrays with fields with a description of either "Scheduled departure", "Actual Departure", "Scheduled Arrival", or "Actual Arrival". Note the capitalization difference between "departure" and "arrival".

Ole Vedel Villumsen ยท Dec 31

There is a reason why some coding standard prescribe that business terms MUST NOT be translated to English.