1. A translation device, comprising: a character recognition unit that recognizes text data in a text region of an input image; a translation processor that translates the text data in the text region; and a layout configuration processor that generates data containing the translated text data in the text region and graphics in the input image, wherein a layout of the input image is maintained in a layout of the image of the data generated by the layout configuration processor, by changing at least one of a size of the text region and graphics if a total area of the text region for the translated text data and the graphics exceeds an area of the text region of an original text and the graphics, wherein the character recognition unit further executes a character recognition process of an image of the graphics region in the input image, to output graphics-region text data showing types, positions, and sizes of characters in the graphics region; the translation processor further executes a translation process of graphics-region text data, to output graphics-region translated text data showing types, positions, and sizes of characters to be accommodated in the graphics region; and the layout configuration processor comprises: a translated data transfer controller that transfers a portion of the text-region translated text data of a current page to text regions of another page based on a determination that the total area for the translated text data on the current page is greater than a predetermined degree; and a switching unit that performs the control of the settings for a page and that: permits transfer of the portion of the text region translated text data when the portion does not contain any graphics identification information that corresponds to graphics identification information in the graphics region of the same page, and does not permit the transfer of the portion of the text region translated text data when the portion does contain graphics identification information that corresponds to graphics identification information in the graphics region of the same page.