Docs
On this page
task2 min readApplication: Platform

Install and generate language packs

Install a language pack so users can read Servicely in another language, and generate the translations an empty pack lacks.

Install a language pack to offer users another language. This task is for administrators of an instance that people use in more than one language.

Before you begin

  • You need the administrator role.
  • Switch to the Administration workspace with the Workspace selector at the foot of the menu.
  • Check that the language is in Supported languages. Locales and languages describes the setting and lists the languages whose packs hold translations.

Steps

  1. Go to Applications & licensing → Applications → Application languages.

    The Application languages item in the Applications & licensing menu.
  2. Open the pack for your language. A pack is named translations- and the locale in lower case, so the French pack is translations-fr_fr.

    The translations-fr_fr language pack, not yet installed, with the Install application button.
  3. Select Install application.

Result

The pack’s State changes from not_installed to deployed. Users whose Preferred language is that language read the pack’s translated messages. A pack that holds no translations changes nothing until you generate them.

Variations

Generate the translations a pack lacks

Ten of the packs are empty, and a pack can lack the messages of an application added since it was translated. A translation service fills the gaps from a script. The script writes records, so this variation is for an administrator who is used to the Server Script console. See Run a server script. Translation in the API reference lists the methods that test the service and that replace, copy or delete a translated message.

  1. Go to Forms, lists & navigation → Localization → Localization settings. On the Translation tab, set Translation service and select Save.

    Value Meaning
    Servicely Translates with a language model connected to the instance. This is the default. See Connect an LLM provider.
    Google Translates with Google Translate. It needs an active outbound token of the type Bearer, named google.api.translation.key, that holds the Google key.
    OpenAI Translates with OpenAI. It needs an active outbound token of the type Bearer, named OpenAI, that holds the OpenAI key.
  2. Go to System & deployment → Diagnostics → Server script.

    The Server script item in the Diagnostics section of the System & deployment menu.
  3. Paste this script, with your locale in place of Thai, and select Run. It counts the messages the language lacks across all applications. Write the locale with an underscore, as in th_TH. A hyphen form such as th-TH matches no messages.

    Script

    Translation.listMissingTranslations("th_TH", "*").length;
    

    Result

    17548
    
    The Server Script console with Read-only on, and the count of messages missing for Thai under Result.
  4. Select Read-only. The switch changes to Writes on, and the console stops refusing changes to records and calls to other systems.

  5. Replace the script with this one, naming your locale and its pack, and select Run. It translates every missing message and saves it in the pack. It adds only what is missing, so earlier translations stay as they are when you run it again.

    Translation.generateMissingTranslations("th_TH", "*", "translations-th_th");
    
  6. Select Writes on to return the console to Read-only.

Last updated 3 December 2026commit 8d233372fa05Chris Jones
Back to top