Custom XML Format

Custom XML Format let's you import any XML file into Get Localization Workspace. In order to import custom XML, you need to specify the XML structure with our easy to use wizard.

Using the XML Import Wizard

Using the XML Import Wizard is easy. Wizard shows you a preview of the file you are importing. If you have already defined a custom file format earlier, you are able to select one from the dropdown menu on the right side. If you are defining a new format, simply choose "Define new format" option and click "Continue".

Now, please note that this XML file in the screenshot contains five strings that are each encapsulated inside <x:String> element. Each string element contains also x:Key attribute that contains logical string or identifier. We refer to this example later.

Defining a new format

Step 1: Select field for the source text

Source text is a text that will be translated. You need to select the element that contains the actual translatable string. In this case, we wish to translate elements that contain texts "North, South, West, East etc.". The element that holds these strings is <x:String> so we simply click the<x:String> element from the left-side presentation. On the left-side preview panel you see a preview of the contents of the selected element. Proceed if the content in the preview panel is correct.

So as a summary:

Step 2: Select where the translation is stored

We need to store the translations somewhere when the XML file is exported from the Get Localization Workspace. You have two options: replace the source text or store translations in a separate field. If your XML contains a separate field for translations, simply click that field. If you wish to replace the source text with translation, then choose that. In latter case, your document must support logical strings / id's. See below for more details about logical strings.

Step 3: Select where the context is found (optional)

Context information is a string specific note or a message to translator about the content, how it should be translated etc. If your document contains this information, simply click the field where it is stored. You will see preview of the contents on the right hand panel. Proceed if it looks correct.

Step 4: Select the string identifiers (optional)

Identifier or logical string is an unique record identifier for your string object. In Wizard, you may only select attribute as a identifier. There are several benefits of using identifiers:

x:Key is used as an logical string / identifier in this example.

Step 5: Preview and Confirm

You can see how the data from the file is imported to each field.

Export preview provides you an preview how the file would look when it is translated and exported from the Get Localization Workspace. Each translation field contains pseudo-translations in this example.

Next, provide a meaningful name for your file format so you can use it later. You can upload similar files by just selecting the file format. Then click "Submit File" and the file is processed.

Get Started With Get Localization Today

Get an instant translation quote Try Get Localization Workspace for Free