Soluling home   Document home

Excel Localization and Internationalization

Excel Localization and Internationalization

Microsoft Excel (Wikipedia) is a popular spreadsheet application. Soluling supports all Excel file formats: the Office Open XML format (.xlsx, Excel 2007 and later, including Microsoft 365), the old binary format (.xls, Excel 97-2003), and the OpenDocument Spreadsheet format (.ods, used by LibreOffice and OpenOffice). Soluling Desktop and Soluling Cloud support Excel and OpenDocument spreadsheets.

In localization, Excel is used in three ways:

How Soluling reads a spreadsheet

Soluling reads one sheet of the file and a range of cells in that sheet. Each row of the range is one string, and each column of the range has a type that tells what the column contains. The most common column types are:

Column type Description
Context The ID of the string. Soluling uses it as the context of the row, so the translations are kept even if the order of the rows changes.
Value The original text that is translated.
Comment A comment for the translator.

For example, the Comment sample contains a header row and three columns:

Context Value Comment
hello Hello world The famous programming sample string
difficult This is hard This is difficult

When you add a spreadsheet to a project, Soluling detects the sheet, the range, and the column types. If the result is not right, change them on the Definition sheet. If you localize many spreadsheets that have the same structure, you can export the definition into a file (.nti) or save it as a shared definition and reuse it.

When building, Soluling creates a localized copy of the spreadsheet for each language. The localized spreadsheet has the same sheets, formatting, and structure as the original, but the value cells contain the translations.

Localization process

You can localize a spreadsheet either in Soluling Desktop or in Soluling Cloud.

Desktop process Desktop process

  1. Start Soluling. Drag the spreadsheet (e.g., Simple.xlsx) onto Soluling or click the New from File or Files button and select the file.
  2. Project Wizard appears and shows the detected definition. Check the sheet, the range, and the column types, and click Next.
  3. Select the original language and the target languages, for example, Finnish, and complete the wizard.
  4. Translate the project.
  5. Choose Home | Build All to build the localized spreadsheets. By default, Soluling creates them in language-specific subdirectories, for example, fi\Simple.xlsx.

Cloud process Cloud process

With Soluling Cloud, you localize the spreadsheet in your browser: upload the file, translate it in Translate, and download the localized spreadsheets. You need a Soluling account. See the available Cloud plans.

Soluling Cloud uses the definition that Soluling detects automatically. If your spreadsheet needs a custom definition, create the project in Soluling Desktop, set the definition there, and upload the project to Soluling Cloud. See the Cloud tutorial.

Create a project

  1. Sign in at www.soluling.com and open Cloud > Dashboard for Projects, Users and Terminology.
  2. Click Add a new project, then Select files and pick your spreadsheet (e.g., Simple.xlsx), or drag and drop the file onto the page. Click Create.
  3. On the next page, check the project's Name. It defaults to the file's name.
  4. Set the Original language to the language of your spreadsheet, for example, English.
  5. Under Target languages, check the languages you want to translate to, for example, Finnish and German.
  6. Check that the Source type is Excel file (.xls, .xlsx), or OpenOffice spreadsheet file (.ods) for an .ods file.
  7. Click Create. The project appears on the dashboard, and its status changes to Ready once the file has been processed.

Translate the project

Click the project's green Translate button on the dashboard. Translate opens the project, and you can type the translations into the grid. Machine translation suggestions, translation memory, and spell checking are available there. You do not have to finish every language before moving on to the next step.

Comments from the comment column are shown with the strings.

Get the localized spreadsheets

  1. In Translate's top bar, click the project's name. It opens the project's Manage page, the same page that the project's Manage button on the dashboard opens.
  2. If you have translated something since the localized files were last built, the page says Localized files need to be built. Click Build localized files and wait until it finishes.
  3. The Files section lists the spreadsheet with a download button for each target language. Download the localized spreadsheets.

Update the project

When you change the original spreadsheet, upload it again, translate what is new or changed, and download the localized spreadsheets again. On the dashboard, click the project's Update file button (the upload arrow), select the new spreadsheet or drop it onto the page, and click Update. Existing translations are kept, so you only translate the strings that were added or changed.

Samples

GitHub and <data-dir>\Samples\Excel contain the following sample directories:

Directory Description
Xlsx Samples in the Office Open XML format (Excel 2007 and later)
Xls Samples in the old binary format (Excel 97-2003)
Ods Samples in the OpenDocument Spreadsheet format (LibreOffice and OpenOffice)

Each directory contains the following samples:

Directory Description
Simple A simple spreadsheet that contains an ID column and a value column. Study this first.
Comment A spreadsheet that contains strings and their comments. Also uses a header row.
Image A spreadsheet that contains images.
Product A spreadsheet that contains other data types than strings.
Sport A spreadsheet that contains information about some sports.

Each sample directory contains the original spreadsheet and the Soluling project file. Most of them also contain the localized Finnish spreadsheet in the fi subdirectory.

Configuring Excel localization

You can configure how to localize your Excel file by selecting the item in the project tree, right-clicking, and choosing the Options menu. A source dialog appears that lets you edit the options. This source uses the following option sheets.

Use Excel Definitions to edit the shared definitions.

Read more about other data files such as XML, XSL, JSON, YAML, INI, Excel, SVG, TMX, XLIFF, text and binary files.