> For the complete documentation index, see [llms.txt](https://ptkyoku.gitbook.io/localflow-translate-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ptkyoku.gitbook.io/localflow-translate-docs/configuration/import-export-and-translate.md).

# Import/Export & Translate

Import, export, translate, and clear localization data.

Set up [JSON Configuration](/localflow-translate-docs/configuration/json-configuration.md) before importing or exporting JSON files.

Set up [Google Sheets Integration](/localflow-translate-docs/configuration/google-sheets-integration.md) before synchronizing with Google Sheets.

Configure [TMP Font Generation & Update](/localflow-translate-docs/configuration/tmp-font-generation-and-update.md) before generating font assets during export.

### Global actions

Use **Global Actions** to manage all localization data at once.

#### Import

Click **Import** to open the import menu.

* **Import from JSON** — Imports localization data from a JSON file. You can import source-only files or files that include target languages. Target languages and translations are added automatically.
* **Import from Google Sheets** — Imports localization data from the configured Google Spreadsheet.

#### Export combined

Exports every language into one combined JSON file.

Use this option when your project stores all languages in one file.

#### Export per language

Exports localization data as separate files for each language.

{% hint style="info" %}
When exporting to Google Sheets, each Target Language is exported to a worksheet with the same name as the language. If the worksheet does not exist, it is created automatically.
{% endhint %}

Click **Export Combined** or **Export Per Language** to open the export menu.

* **Export as JSON** — Exports each language as an individual JSON file.
* **Export as JSON + Generate TMP Font** — Exports JSON files, then generates or updates TextMesh Pro font assets.
* **Export to Google Sheets** — Exports each Target Language to its corresponding worksheet in the configured Google Spreadsheet.
* **Export to Google Sheets + Generate TMP Font** — Exports each Target Language to Google Sheets, then generates or updates the corresponding TextMesh Pro font assets.

Use a TMP font option when font assets must include localized characters.

#### Translate all

Translates the source language into every added target language.

Click **Translate All** and select an option:

* **Translate All Texts (Overwrite)** — Translates every entry. Existing translations are replaced.
* **Translate Missing Texts Only** — Translates only empty entries. Existing translations are preserved.

#### Remove all

Click **Remove All** to open the remove menu.

* **Clear Entries (Keep Languages)** — Removes all imported localization entries while keeping the Source Language and all configured Target Languages.
* **Remove Languages (Delete Completely)** — Removes all imported localization data and all configured Target Languages from the editor.

{% hint style="info" %}
This action only clears editor data. JSON files, Google Sheets data, and TMP font assets remain unchanged.
{% endhint %}

### Translation

Use the **Translation** section to manage each target language individually.

<figure><img src="https://296382980-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOY5Ubm8M4ZReNYKgsHiG%2Fuploads%2FTj0s4Ab36GytC0IxpERo%2FTranslation%20Area.png?alt=media&amp;token=e301d63b-249c-4981-9891-96172d6ba011" alt="Translation section with numbered controls"><figcaption></figcaption></figure>

#### 1. Import

Imports translations for the selected target language from JSON or Google Sheets.

Translations load when the imported data includes the selected target language.

#### 2. Export

Exports translations for the selected target language.

Click **Export** and select an option:

* **Export as JSON**
* **Export as JSON + Generate TMP Font**
* **Export to Google Sheets**
* **Export to Google Sheets + Generate TMP Font**

#### 3. Translate

Translates source-language text into the selected target language.

Click **Translate** and select an option:

* **Translate All Texts (Overwrite)** — Translates all source-language entries. Existing translations are replaced.
* **Translate Missing Texts Only** — Translates only empty entries. Existing translations are preserved.

{% hint style="info" %}
An entry is not translated when its source-language text is missing.
{% endhint %}

#### 4. Remove

Removes the currently selected Target Language or its translation entries.

Click **Remove** to open the remove menu.

* **Clear Entries (Keep Language)** — Removes all translation entries for the currently selected Target Language while keeping the language itself.
* **Remove Language (Delete Completely)** — Removes the currently selected Target Language and all of its translation data.

#### 5. Translate selected key

Translates only the selected localization key.

{% hint style="info" %}
The selected key is not translated when its source-language text is missing.
{% endhint %}
