![]() |
Converting from Another Localization Tool |
Soluling can convert most project files made with the Sisulizer or Multilizer localization tools into the Soluling format, because both tools use an XML-based project format that Soluling can read. Other localization tools have no automatic conversion. However, if the existing localized files are in their standard locations, Soluling finds them and imports the translations after you have added the original file to your Soluling project. You can also import the translations that the other tool exports in TMX or XLIFF.
Sisulizer works on the same principle as Soluling: it creates the standard resource formats and files of each framework or platform. This makes the conversion straightforward. To convert your Sisulizer project to a Soluling project:
.slp), or drag and drop the project file on Soluling's main window.
The dialog lets you set the conversion options, such as whether to import also the translations that equal the original strings, whether to match by value only, and whether to import the translation properties from the project file. Uncheck the sources and languages that you do not want to import. Soluling creates a matching Soluling project and reads the properties of the Sisulizer project file. How the translations are imported depends on the Translation source:
| Translation source | Description |
|---|---|
| Project file | The translations and their attributes are imported directly from the Sisulizer project file. This does not work with all source types (*). If the converted project does not get all the translations, select Localized files or Both localized files and project files. * This currently works with Delphi, ResX, Visual C++, INI, and XML sources. |
| Localized files | The translations are imported from the localized files. This works with all source types, but the translation attributes, such as the status, are not converted. |
| Both localized files and project files | The existing translations are imported first from the localized files, and then the attributes from the Sisulizer project file. This is the default and the recommended method. |
If your Delphi application used Sisulizer's Delphi library for a runtime language switch:
Note! Conversion may not be 100%. There might be some properties or resource types that do not convert.
Note! Not all Sisulizer projects can be converted. Sisulizer supported legacy formats, such as Classic Visual Basic and Symbian, which Soluling does not support because they are no longer used. If your project contains such a file, the conversion skips it.
In most cases, Multilizer works on the same principle as Soluling: it creates the standard resource formats and files of each framework or platform. This makes the conversion straightforward. To convert your Multilizer project to a Soluling project:
.mpr or .m7p), or drag and drop the project file on Soluling's main window.
The dialog lets you set the conversion options. Uncheck the sources and languages that you do not want to import. Soluling creates a matching Soluling project and reads the properties of the Multilizer project file. How the translations are imported depends on the Translation source:
| Translation source | Description |
|---|---|
| Project file | The translations and their attributes are imported directly from the Multilizer project file. The import is done by value, not by context, so some duplicate strings might get wrong translations. Select this if your Delphi application used Multilizer's VCL components. |
| Localized files | The translations are imported from the localized files. This works with all source types, but the translation attributes, such as the status, are not converted. |
| Both localized files and project files | The existing translations are imported first from the localized files, and then the attributes from the Multilizer project file. This is the default and the recommended method. |
Note! Conversion may not be 100%. There might be some properties or resource types that do not convert.
Note! Not all Multilizer projects can be converted. Multilizer supported legacy formats, such as Classic Visual Basic, Symbian, and Palm OS, which Soluling does not support because they are no longer used. If your project contains such a file, the conversion skips it.
If your Delphi application uses Multilizer's localization components, you have to do a bit more work. First, convert the project as described above. Soluling creates a new project and imports your existing translations from your Multilizer project file (.m7p).
Multilizer and Soluling work differently. Your Multilizer project refers to your Delphi project file (.dpr). When scanning, Multilizer reads the form files (.dfm) and source code files (.pas), and when building, it creates a Multilizer dictionary file (.mld). Your forms contain Multilizer components, such as TIvTranslator and TIvBinaryDictionary, that make them multilingual.
Soluling follows the standard internationalization method of VCL. You do not need any localization components, but you use resource strings. When the Delphi compiler compiles your application, it stores the form data and the resource strings as standard Windows resources inside the .exe, .dll, or .bpl file. Soluling scans this file and extracts the form and string resources. When building, Soluling creates a resource DLL for each language, which you deploy with your application. VCL has built-in code that uses the resources of the matching resource DLL instead of the .exe file. If you want a single-file deployment (only the .exe), Soluling can embed the resource DLLs in your original .exe file as custom resources that the application extracts the first time it starts. If you want a runtime language switch, use Soluling's Delphi library.
Because of these differences, you need to refactor your code:
TIvTranslator and TIvBinaryDictionary) from your forms.Translate) from your code.Translate function.If you used another localization tool, there are two ways to reuse its translations:

The converted project is a normal Soluling project file (.ntp). To translate it in Soluling Cloud, open it in Soluling Desktop and choose Translate | Configure Cloud to upload it. Your translators can then translate it in their browsers in Translate.