Skip to content

Translations ​

Qorekit speaks English, and other languages with language packs. The names you give things are yours to translate: Administration › Translations lists them for each language. People with the Edit translations permission open it.

Names and texts ​

The page lists every name and text people wrote: modules, entities, fields and their help, choice lists and their items, variables, roles, forms and info blocks, each with where it is used.

  1. Choose the language under Translate into. Each language says how many texts it lacks.
  2. Only those missing shows what has no translation yet; Search finds a text.
  3. Type the translations and click Save.

What a language lacks shows in another language: English when it is there. Emptying a translation removes it; a name keeps one language at least.

The interface ​

The interface's own words (buttons, menus, messages) come with Qorekit in English, and with a language pack in any other language. The page shows how many of the interface's strings each pack has.

Language packs ​

A language pack is a plugin with the strings of a language and no code. Install it like any plugin and turn it on: its language joins the choices in everyone's account (My account › Profile) and on the sign-in page, and can be turned off in Settings.

Qorekit's own packs, Turkish among them, are listed on qorekit.com/languages; download one and upload it in Administration › Plugins.

To make one, click Download the English strings for the interface's strings, translate them, and make a folder:

german/
├── plugin.json
└── lang/
    ├── de.json             the server's messages
    └── interface/
        └── de.json         the interface's strings
json
{
    "id": "acme/german",
    "name": "Deutsch",
    "version": "1.0.0",
    "requires": { "qorekit": ">=0.2.0" },
    "languages": { "de": "Deutsch" }
}

lang/interface/de.json has the shape of the English strings; leave out what is not translated yet, and it shows in English. lang/de.json translates the server's messages, each English message to its translation; Qorekit lists them in lang/catalogue.json. It may also translate Laravel's validation messages, as "validation.required", and the names of inputs in them, as "validation.attributes.email". Zip the folder and upload it in Administration › Plugins.