![]() |
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:
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.
You can localize a spreadsheet either in Soluling Desktop or in Soluling Cloud.
Simple.xlsx) onto Soluling or click the New from File or Files button and select the file.fi\Simple.xlsx.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.
Simple.xlsx), or drag and drop the file onto the page. Click Create..ods file.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.
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.
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.
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.