# Importing and Exporting

### Importing and Exporting Language Files

#### Importing Language Files

LanguageSystem Pro supports importing language data from `StreamingAssets`. When using external files (either global or per-language files), ensure your files are properly formatted and placed in the `Languages` folder.

* **Supported Formats**:
  * JSON: Structured with `TextID` and corresponding `TranslatedText`.
  * XML: Using a serialized object structure.
  * CSV: CSV files should have the first row as the language IDs, and each following row should map a `TextID` to its translations.
* **Automatic Detection**:\
  The system will automatically detect whether a JSON, XML, or CSV file exists in the `StreamingAssets/Languages/` folder and load the appropriate one.

If you choose to use InternalDatabase mode, you can also import files with translations already edited in an external application into Unity using the Import(JSON,XML,CSV) buttons in the LanguageManager component.

#### Exporting Language Files

You can also export your current language data to the StreamingAssets folder in the format of your choice (JSON, XML, or CSV). This can be done directly from the Unity Editor using the Import(JSON,XML,CSV) button in the LanguageManager component.

How to export: Just click the Export(JSON,XML,CSV) button in the LanguageManager component, specifying the path of the desired file. You can use this to backup your data or prepare files with translations.

<figure><img src="/files/qQvpQOcDsrvgvKrSnQF1" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://bizachi-dev.gitbook.io/languagesystem-pro/getting-started/publish-your-docs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
