Localisation

April 21, 2026 · View on GitHub

License Stable Downloads Vue JavaScript SCSS npm Issues Merge Requests

Description

Localisation provides the admin pages and helper widgets used to manage languages, edit translation texts, and surface missing keys in Enso UI.

Installation

Install the package:

yarn add @enso-ui/localisation

The package is usually consumed from the full enso-ui workspace inside an Enso application.

Features

  • registers /system/localisation pages for index, create, edit, and edit-texts flows
  • ships helper widgets such as MissingKeys, LanguageSelector, and KeyCollector
  • includes a registration hook that wires the localisation helpers into the host app
  • pairs the page layer with backend-driven tables and forms from the localisation package

Usage

import systemRoutes from '@enso-ui/localisation/src/bulma/routes/system.js';
import MissingKeys from '@enso-ui/localisation/src/bulma/components/navbar/MissingKeys.vue';

API

Route pages

Common imports:

  • pages/localisation/Index.vue
  • pages/localisation/Create.vue
  • pages/localisation/Edit.vue
  • pages/localisation/EditTexts.vue

Helper components

Bulma and core variants are shipped for:

  • MissingKeys
  • LanguageSelector
  • KeyCollector

Registration

  • src/bulma/register.js registers the package helpers on the host application.

Routes

/system/localisation

  • system.localisation.index
  • system.localisation.create
  • system.localisation.edit
  • system.localisation.editTexts

Companion Backend Package

Depends On

Contributions

are welcome. Pull requests are great, but issues are good too.

Thank you to all the people who already contributed to Enso!

License

MIT