Localisation
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/localisationpages for index, create, edit, and edit-texts flows - ships helper widgets such as
MissingKeys,LanguageSelector, andKeyCollector - 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.vuepages/localisation/Create.vuepages/localisation/Edit.vuepages/localisation/EditTexts.vue
Helper components
Bulma and core variants are shipped for:
MissingKeysLanguageSelectorKeyCollector
Registration
src/bulma/register.jsregisters the package helpers on the host application.
Routes
/system/localisation
system.localisation.indexsystem.localisation.createsystem.localisation.editsystem.localisation.editTexts
Companion Backend Package
Depends On
@enso-ui/directives↗@enso-ui/dropdown↗@enso-ui/forms↗@enso-ui/pagination↗@enso-ui/select↗@enso-ui/vue-switch↗@enso-ui/tables↗@enso-ui/transitions↗@enso-ui/ui↗
Contributions
are welcome. Pull requests are great, but issues are good too.
Thank you to all the people who already contributed to Enso!