Passa al contenuto principale

Export & Import

Exporting to XML file

The repository may be exported to the XML file. The XML file format is compatible with Borland's, so you can use files exported by the Language Manager in the Delphi Language Repository.

Select "Repository | Export XML…" menu item and set proper parameters in the appeared dialog:

"Base locale" – select the language that will be used as native when you try to import an XML file into Delphi Language Repository. This language is mentioned as native in the XML file.

"Languages to be exported" – displays all the languages the repository contains. Mark the languages you wish to be exported. The language chosen in the "Base locale" field is marked by default.

"Strings format" – select one of two options to specify how the strings should be written to the file.

FL_RadioBox"C - style" – the strings are quoted as "string," the special characters are encoded through \ sign (\n, " etc.).

FL_RadioBox"DFN (Delphi) - style" – the strings are quoted as 'string,' the special characters are encoded through # sign (#13, #10, #39, etc.).

"File name" – select or enter the file name to export to.

Exporting to TMX file

TMX (Translation Memory eXchange) is an open XML standard for exchanging translation memory data. The latest Delphi versions store the translation repository in this format. Language Manager allows you to export the Repository to TMX format easily.

Select "Repository | Export TMX…" menu item and set proper parameters in the appeared dialog:

"Base locale" – select the language that will be used as native when you try to import the TMX file into Delphi Language Repository.

"Languages to be exported" – displays all the languages the repository contains. Mark the languages you wish to be exported. The language chosen in the "Base locale" field is marked by default.

"File name" – select or enter the file name to export to.

Importing XML/TMX file

You may import the translations from the XML or TMX file to the Repository. The XML file format is compatible with Borland's, so you can import files exported by the Delphi Language Repository.

Select "Repository | Import XML/TMX…" menu item and select the file to import from in appeared dialog.

If some imported items already have translations in the repository, the "Refresh repository" dialog appears and asks you what to do with such items. See the "Filling the Repository" topic for details.

Importing MS Glossary

The Microsoft Glossaries are text files that contain a two-language dictionary. Language Manager allows you to import MS Glossaries to the repository.

Select the "Repository | Import MS Glossary..." menu item and set the proper parameters in the appeared dialog:

"File name" – select or enter the file name to import from.

"Language 1" and "Language 2" – since MS Glossary format does not provide the information about the languages it includes, you need to select the languages manually. The languages you select will be used (and created if they don't exist) to import. |