Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
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 @@ -8,6 +8,7 @@ sidebar:
---

import { Steps, Aside, CardGrid, LinkCard } from '@astrojs/starlight/components';
import { Icon } from 'astro-icon/components';
import Include from '~/components/Include.astro';
import { Image } from 'astro:assets';
import ReadMore from '~/components/ReadMore.astro';
Expand Down Expand Up @@ -44,6 +45,8 @@ To set the preferred parser configuration for all files of a specific format, fo
4. Click **Save**.
</Steps>

Alternatively, for formats with configurable parser settings, you can open the same settings from the [**Create bundle**](/bundles/#configuring-bundles) or [**Edit bundle**](/bundles/#editing-bundles) dialog by clicking <Icon name="mdi:cog" class="inline-icon" /> next to the target format.

To add a new file format, click **Add Apps** and install the required format.

## Parser Configuration for a Single File
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ To configure a bundle, follow these steps:
7. Configure **Target files** (Right Panel):
* **File format**: Select the format you want to export. You can select **Original format** to export files as-is, or choose a target format like iOS Strings, XLIFF, etc.
* **Add more formats**: To add other target formats, install the respective applications from the [Crowdin Store](https://store.crowdin.com/tags/string-exporter).
* *(Optional)* **Format configuration**: Some formats (e.g., XLIFF, Android XML) support advanced options configured in **[Settings > Parser configuration](#configuring-format-settings)**.
* *(Optional)* **Format configuration**: Some formats (e.g., XLIFF, Android XML) support advanced options. Click <Icon name="mdi:cog" class="inline-icon" /> next to a format to configure them directly in the bundle dialog. You can also manage the same settings globally in **[Settings > Parser configuration](#configuring-format-settings)**.
* **Export pattern**:
* **For Original format**: This field is optional. Leave it empty to use the default export pattern defined in your file settings. Enter a pattern to override the default path or name.
* **For other formats**: This field is required.
Expand Down Expand Up @@ -109,7 +109,7 @@ To configure a bundle, follow these steps:
7. Configure **Target files** (Right Panel):
* **File format**: Select the format you want to export (e.g., Android XML, iOS Strings).
* **Add more formats**: To add other target formats, install the respective applications from the [Crowdin Store](https://store.crowdin.com/tags/string-exporter).
* *(Optional)* **Format configuration**: Some formats (e.g., XLIFF, Android XML) support advanced options configured in **[Settings > Parser configuration](#configuring-format-settings)**.
* *(Optional)* **Format configuration**: Some formats (e.g., XLIFF, Android XML) support advanced options. Click <Icon name="mdi:cog" class="inline-icon" /> next to a format to configure them directly in the bundle dialog. You can also manage the same settings globally in **[Settings > Parser configuration](#configuring-format-settings)**.
* **Export pattern**: Define the resulting file name using language placeholders (e.g., `%two_letters_code%.strings`). This will create one file per language.
* *(Optional)* Set a **Source language export pattern**.
8. Check the **Preview** panel to ensure the structure looks correct.
Expand All @@ -125,11 +125,17 @@ To configure a bundle, follow these steps:

### Configuring Format Settings

Some file formats (e.g., XLIFF, Android XML) have additional configuration options, such as **Copy source to empty target** or **Convert placeholders**.
Some file formats (e.g., XLIFF, Android XML) have additional configuration options, such as **Copy source to empty target** or **Convert placeholders**. You can configure these settings directly in the bundle dialog by clicking <Icon name="mdi:cog" class="inline-icon" /> next to the format. Alternatively, you can manage the same settings globally in the **Parser configuration**.

You can manage these settings globally for the project in the **Parser configuration**.
To configure these options in the bundle dialog, follow these steps:

To configure these options, follow these steps:
<Steps>
1. In the [**Create bundle**](#configuring-bundles) or [**Edit bundle**](#editing-bundles) dialog, click <Icon name="mdi:cog" class="inline-icon" /> next to the format you want to configure.
2. Adjust the file format exporter settings by selecting the needed options.
3. Click **Save**.
</Steps>

If you prefer to manage the same settings globally for the project, follow these steps:

<Steps>
1. Open your project and go to **Settings > Parser configuration**.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ sidebar:
---

import { Steps, Aside, CardGrid, LinkCard } from '@astrojs/starlight/components';
import { Icon } from 'astro-icon/components';
import Include from '~/components/Include.astro';
import { Image } from 'astro:assets';
import ReadMore from '~/components/ReadMore.astro';
Expand Down Expand Up @@ -44,6 +45,8 @@ To set the preferred parser configuration for all files of a specific format, fo
4. Click **Save**.
</Steps>

Alternatively, for formats with configurable parser settings, you can open the same settings from the [**Create bundle**](/enterprise/bundles/#configuring-bundles) or [**Edit bundle**](/enterprise/bundles/#editing-bundles) dialog by clicking <Icon name="mdi:cog" class="inline-icon" /> next to the target format.

To add a new file format, click **Add Apps** and install the required format.

## Parser Configuration for a Single File
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ To configure a bundle, follow these steps:
7. Configure **Target files** (Right Panel):
* **File format**: Select the format you want to export. You can select **Original format** to export files as-is, or choose a target format like iOS Strings, XLIFF, etc.
* **Add more formats**: To add other target formats, install the respective applications from the [Crowdin Store](https://store.crowdin.com/tags/string-exporter).
* *(Optional)* **Format configuration**: Some formats (e.g., XLIFF, Android XML) support advanced options configured in **[Settings > Parser configuration](#configuring-format-settings)**.
* *(Optional)* **Format configuration**: Some formats (e.g., XLIFF, Android XML) support advanced options. Click <Icon name="mdi:cog" class="inline-icon" /> next to a format to configure them directly in the bundle dialog. You can also manage the same settings globally in **[Settings > Parser configuration](#configuring-format-settings)**.
* **Export pattern**:
* **For Original format**: This field is optional. Leave it empty to use the default export pattern defined in your file settings. Enter a pattern to override the default path or name.
* **For other formats**: This field is required.
Expand All @@ -91,7 +91,7 @@ To configure a bundle, follow these steps:
</TabItem>
<TabItem label="String-based project">
<Steps>
1. Open your project and select **Download** on the left sidebar..
1. Open your project and select **Download** on the left sidebar.
2. Expand the **Downloads** section and click **Add**.
3. In the **Create bundle** dialog, enter a **Bundle name**.
4. Configure the **Content** (Left Panel):
Expand All @@ -109,7 +109,7 @@ To configure a bundle, follow these steps:
7. Configure **Target files** (Right Panel):
* **File format**: Select the format you want to export (e.g., Android XML, iOS Strings).
* **Add more formats**: To add other target formats, install the respective applications from the [Crowdin Store](https://store.crowdin.com/tags/string-exporter).
* *(Optional)* **Format configuration**: Some formats (e.g., XLIFF, Android XML) support advanced options configured in **[Settings > Parser configuration](#configuring-format-settings)**.
* *(Optional)* **Format configuration**: Some formats (e.g., XLIFF, Android XML) support advanced options. Click <Icon name="mdi:cog" class="inline-icon" /> next to a format to configure them directly in the bundle dialog. You can also manage the same settings globally in **[Settings > Parser configuration](#configuring-format-settings)**.
* **Export pattern**: Define the resulting file name using language placeholders (e.g., `%two_letters_code%.strings`). This will create one file per language.
* *(Optional)* Set a **Source language export pattern**.
8. Check the **Preview** panel to ensure the structure looks correct.
Expand All @@ -125,11 +125,17 @@ To configure a bundle, follow these steps:

### Configuring Format Settings

Some file formats (e.g., XLIFF, Android XML) have additional configuration options, such as **Copy source to empty target** or **Convert placeholders**.
Some file formats (e.g., XLIFF, Android XML) have additional configuration options, such as **Copy source to empty target** or **Convert placeholders**. You can configure these settings directly in the bundle dialog by clicking <Icon name="mdi:cog" class="inline-icon" /> next to the format. Alternatively, you can manage the same settings globally in the **Parser configuration**.

To configure these options in the bundle dialog, follow these steps:

You can manage these settings globally for the project in the **Parser configuration**.
<Steps>
1. In the [**Create bundle**](#configuring-bundles) or [**Edit bundle**](#editing-bundles) dialog, click <Icon name="mdi:cog" class="inline-icon" /> next to the format you want to configure.
2. Adjust the file format exporter settings by selecting the needed options.
3. Click **Save**.
</Steps>

To configure these options, follow these steps:
If you prefer to manage the same settings globally for the project, follow these steps:

<Steps>
1. Open your project and go to **Settings > Parser configuration**.
Expand Down
Loading