A computer system comprising one or more processors, one or more computer readable memories, one or more computer readable storage mediums, and program instructions stored on at least one of the one or more computer readable storage mediums for execution by at least one of the one or more processors via at least one of the one or more computer readable memories, the stored program instructions comprising:
- program instructions to define a first section in a graphical user interface (GUI), wherein the first section is a first delineated area on the GUI that is dedicated to displaying executable format icons from a first area category, wherein the first area category is for icons that control a format of a document;
- program instructions to define a second section of the GUI, and wherein the second section is a second delineated area on the GUI that is dedicated to displaying executable page moving icons from a second area category, wherein the second area category is for icons that move a display of the document to a particular place in the document;
- program instructions to receive electronic data that includes image data, wherein the image data describes a particular executable format icon in the first section and a particular executable page moving icon in the second section, wherein the particular executable format icon is initially labeled with a first label in a first language, wherein the particular executable page moving icon is initially labeled with a second label in the first language, and wherein the first label and the second label are a same label in the first language;
- program instructions to translate the first label in the first language into a first label in a second language and the second label in the first language into a second label in the second language, wherein the first label in the second language and the second label in the second language are different labels that have different definitions as compared to one another when written in the second language, wherein a translation of the first label from the first language into the second language is a first translation that is based on the particular executable format icon being displayed in the first section, and wherein a translation of the second label from the first language into the second language is a second translation that is based on the particular executable page moving icon being displayed in the second section;
- program instructions to receive a document format user input that selects the particular executable format icon, wherein the first label of the particular executable format icon has been translated into the second language;
- program instructions to format the document according to the received document format user input;
- program instructions to receive a document page movement user input for moving the display of the document to the particular place in the document, wherein the document page movement user input has been translated into the second language;
- program instructions to, in response to receiving the document page movement user input, move the display of the document to the particular place in the document;
- program instructions to generate a candidate score A, wherein the candidate score A is for a particular translation, from a group of candidate translations, for the first label of the particular executable format icon in the first section, wherein the candidate score A is based on how many peripheral terms in the first section are associated with the particular translation;
- program instructions to generate a candidate score B, wherein the candidate score B is based on how many of the peripheral terms in the section are found in a group name of icons in the first section;
- program instructions to add the candidate score A to the candidate score B to create a total candidate score;
- and
- program instructions to identify the particular translation as being the first label in the second language based on the total candidate score of the particular translation exceeding a predefined value.