Skip to content

Commit

Permalink
docs: XML File Configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-bodnar committed Jul 19, 2024
1 parent f9af6f6 commit 57f48ef
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,61 @@ title: XML File Configuration
slug: xml-configuration
---

https://support.crowdin.com/xml-configuration/
[//]: # (https://support.crowdin.com/xml-configuration/)

import { Steps, Aside } from '@astrojs/starlight/components';
import { Icon } from 'astro-icon/components';
import ReadMore from '~/components/ReadMore.astro';

The XML files, similar to CSV and XLSX files, require additional configuration after uploading to the project so the system could import the content of these files.

To configure XML files, follow these steps:

<Steps>
1. Open your project and go to **Sources > Files**.

2. Click **Configure** next to the file to open the configuration window.

3. Select which content should be translated and click **Save & Import** to proceed.
</Steps>

![Configure XML File](./_assets/xml_file_configure.png)

## Configuration Options for XML Files

When configuring XML files, you’ll have the following options: **Basic Configuration** and **Advanced Configuration**. Additionally, you can use the **Content Segmentation**, which is available for both configuration options.

## Basic Configuration

Basic Configuration allows you to select all nodes and/or all attributes to be available for translation.

![XML Basic Configuration](./_assets/xml_file_basic.png)

## Advanced Configuration

Advanced Configuration allows you to select the specific nodes and specific attributes to be available for translation.

![XML Advanced Configuration](./_assets/xml_file_advanced.png)

The file structure is depicted with the help of icons:

- <Icon name="mdi:segment" class="inline-icon"/> – Node

- <Icon name="mdi:label-variant" class="inline-icon"/> – Attribute

## Content Segmentation

You can use **Content Segmentation** to split the source file's content into shorter text pieces, mostly sentences and short paragraphs. This is helpful when translating content units consisting of several sentences because it will be easier to translate smaller pieces of text. Segmentation Rules eXchange (SRX) are used for automatic content segmentation.

<Aside>
When Content segmentation is enabled, the translation upload is handled by an experimental machine learning technology.
</Aside>

<ReadMore>
Read more about [Custom segmentation](/custom-segmentation/).
</ReadMore>

## See Also

- [Files Management](/files-management/)
- [CSV/XLSX File Configuration](/csv-xlsx-configuration/)

0 comments on commit 57f48ef

Please sign in to comment.