A translation device analyses image data that includes characters, to
separate and extract a character region, and another region whose
structural elements differ from those of the character region; recognizes
characters in the region determined to be the character region; extracts
a character string related to the other region, from a result of the
character recognition, to associate the character string with the
character region from which the character string is extracted and the
other region; translates the resulting recognized characters; and, based
on the association between the character string and the other character
region, pastes the resulting translation that includes the character
string onto the same page as the other region that is associated with the
character string.