# Translation

## Support translation

:white\_check\_mark: **pl\_PL** - Polish\
:white\_check\_mark: **uk** - Ukrainian

## Loco Translate <a href="#translations-loco-translate" id="translations-loco-translate"></a>

1. Install and Activate - [Loco Translate](https://wordpress.org/plugins/loco-translate/) Plugin;
2. Go to `Loco Translate → Plugins → Packaging Fit`;
3. Create `New language`;
4. Choose a language and a location `languages/plugins/packaging-fit-{locale}.po` and `Start translating`;
5. After translating, click on `Save` button.

## Poedit

1. **Create a Translation File**:
   * Download and install [Poedit](https://poedit.net/).
   * Open Poedit and select `Create New Translation`.
   * Select the `Packaging Fit` plugin `.pot` file located in the `/languages` directory.
2. **Translate Strings**:
   * In Poedit, translate the strings to your desired language.
   * Save the translation with the appropriate language and country code (e.g., `packaging-fit-fr_FR.po` for French).
3. **Generate MO File**:
   * Poedit will automatically generate a `.mo` file when you save the translation. Ensure the `.mo` file is saved in the same directory as the `.po` file.
4. **Upload Translation Files**:
   * Upload the `.po` and `.mo` files to the `/wp-content/languages/plugins/` directory on your server.


---

# 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://tigriweb.gitbook.io/packaging-fit/translation.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.
