---
title: "Install and generate language packs"
site: admin
version: 1.11
versions: "all"
url: https://docs-new.servicely.ai/admin/1.11/platform/language-packs/
type: task
application: platform
last_updated: 2026-10-18
commit: 7b27e70aada9
---


Install a language pack to offer users another language. If the pack for your language is empty or incomplete, generate the missing messages with a translation service. This page is for administrators of multilingual instances.

## Before you begin

- You need the `administrator` role.
- Add the language to `system.supported.locales` and `system.supported.languages`, as described in [Locales and languages](page:platform/locales-and-languages).
- To generate messages, choose a translation service and set it up as in the table under step 3.

Language packs are applications named `translations-<locale>`, such as `translations-fr_fr`. They hold only `LocalizedMessage` records. There is no English pack, because English is part of every application. The empty `translations` pack is installed for experiments, so they do not change the real packs.

<!-- source: platform/data/ApplicationProperty?Key=system.translation.service -->
| Property | Default | Values |
| --- | --- | --- |
| `system.translation.service` | `system` | `system` uses the large language models configured on the instance. `google` uses Google Translate. `openai` uses OpenAI. |

## Steps

<Steps>
  <Step>
    Go to **Application → Application → Application languages** and open the pack for your language.
  </Step>
  <Step>
    Select **Install application**. Installation usually takes under a minute, and the messages apply at once.
  </Step>
  <Step>
    If the pack is empty or you want to fill gaps, set up the translation service. The table below lists what each service needs.
  </Step>
  <Step>
    Go to **Administration → Administrator tools → Server script**.
  </Step>
  <Step>
    List the messages missing for the locale, such as French, across all applications:

    ```javascript
    let missing = Translation.listMissingTranslations("fr_FR", "*");
    ```
  </Step>
  <Step>
    Generate the missing messages into the language pack. For a locale with no translations, this creates about 7,500 messages in about two minutes:

    ```javascript
    Translation.generateMissingTranslations("fr_FR", "*", "translations-fr_fr");
    ```
  </Step>
  <Step>
    Correct poor translations with the other `Translation` functions, listed in the second table below.
  </Step>
</Steps>

| Service | What it needs |
| --- | --- |
| `system` | A large language model connected to the instance. See [Connect an LLM provider](page:sofi/connect-an-llm-provider). |
| `google` | An active outbound token of type Bearer named `google.api.translation.key`, holding the Google Translate key. |
| `openai` | An active Bearer outbound token holding the OpenAI key. Its name is set by `ai.openai.token.name`, default `OpenAI`. `ai.openai.model.id` chooses the model and `ai.openai.organization.id` the organisation. |

Outbound tokens are under **Administration → Integration → System API outbound tokens**.

| Function | What it does |
| --- | --- |
| `Translation.translate()` | Translates text to test the service. It creates no records. |
| `Translation.listMissingTranslations()` | Lists messages in the source locale, `en_US` by default, that the target locale lacks. Use `"*"` for all applications. |
| `Translation.generateMissingTranslations()` | Generates the missing messages into the named pack. |
| `Translation.generateLocalizedMessage()` | Generates messages for the keys you name. |
| `Translation.replaceLocalizedMessage()` | Replaces a whole message with a better translation. |
| `Translation.patchLocalizedMessage()` | Replaces part of a message. |
| `Translation.copyLocalizedMessage()` | Copies messages unchanged from one locale to another, so they no longer count as missing. |
| `Translation.deleteTranslation()` | Deletes messages for a locale, by key, by application or all of them. |

## Result

Users who choose a locale that uses the language see the translated messages. Generation only adds missing messages, so you can run it again after new components arrive without changing earlier translations.

The packs shipped with messages are Czech, Dutch, French, German, Hungarian, Italian, Polish, Portuguese (Brazil), Slovak, Spanish (Spain) and Turkish. The other packs are empty until you generate messages.

## Related

- [Locales and languages](page:platform/locales-and-languages)
- [Set up dynamic translation](page:platform/dynamic-translation)
- [Translation](page:api/scripting/translation)
- [Applications](page:platform/applications)
