# Translations

To fully translate FileBird Document Library, you need to translate both of user interface and Gutenberg block.

### Method 1: Use Loco Translate to generate translation files

If your language is not yet supported, you can manually translate words by following this guide.

**Step 1.** Firstly, please install [Loco Translate](https://wordpress.org/plugins/loco-translate/) on a WordPress site. This plugin is to help you generate the required JSON files. And when you're done, you can just remove it from your site.

**Step 2.** Then go to Loco Translate > Plugins > FileBird Document Library and Add **New language**.

<figure><img src="/files/0Sici0UQFdNfOlP47tb3" alt=""><figcaption></figcaption></figure>

**Step 3.** Choose your language and click **Start translating**.

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

**Step 4.** Translate all strings and click **Save**!

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

**Step 5.** After that, please download all .po, .mo, .json files and put them in the "languages" folder of our plugin.

* To download **PO** and **MO** files, you can use the built-in options in Loco Translate.

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

* To download **JSON** files, you can use a secure file manager plugin like [Filester](https://wordpress.org/plugins/filester/).

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

When you add them to the **languages** folder of the FileBird Document Library plugin directory, please make sure you have 5 files: 1 .po, 1 .mo and 3 .json files. Please refer to the screenshot below.

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

### Method 2: Use WPML

You can use WPML to translate the gallery elements.

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

### Method 3: Programmatically create a POT file&#x20;

If you don't want to use Loco Translate, you can opt for a developer-friendly workaround. Please [follow these developer resources to make POT](https://developer.wordpress.org/cli/commands/i18n/make-pot/).

### Method 3: Request live translate feature

**Live translate** is not something currently supported in our plugin. But it has been brought up a few times, and at some point if we got more requests, we would love to add this feature.

You can [upvote this suggestion](https://feedbo.io/board/filebird-document-library/#add-live-translate-options-to-translate-gutenberg-block) to let us know that you need live translate for FileBird Document Library!

*Happy translating\~*&#x20;


---

# 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://docs.ninjateam.org/addons/filebird-document-library/translations.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.
