An electronic device is disclosed. The electronic device comprises: a display for displaying an image on a windshield of a transportation means; a first camera for capturing an image of a user riding in the transportation means; a second camera for capturing an image of the outside of the transportation means; and a processor for translating text included in the image captured by the second camera into any other language, and controlling the display such that the translated text is displayed on the windshield, wherein the processor displays the translated text on different areas of the windshield, on the basis of the driving speed of the transportation means and the gaze of the user in the image captured by the first camera.