Adding a language pack

ProcessSpace Specifications

Steps

  1. Write the pack: a folder with pack.yaml naming the language, its apostrophe characters (16 passages, no note), its collation options (4 passages, no note) and its plural suffix rules (4 passages, no note), and stopwords.txt, one word per line, # opening a comment; validate (10 passages, no note) the file against language-pack.schema.json.
  2. Ship it in a plugin that registers (3 passages, no note) the pack under its locale tag when it loads, and declare the plugin under plugins: of the configuration (note: Configuration); a project (note: Project) that also wants type prefixes (3 passages, no note) in that language adds them to its profile (note: Profile) under type_prefixes, per locale, without touching the pack.
  3. Declare the locale on the source (note: Source), locale: <tag>, or on the project when it is the default; a tag with no pack (3 passages, no note) registered fails the build (note: Build) with the tag (18 passages, no note) named.
  4. Build, and read the summary (24 passages, no note) and the findings: the dictionary (note: Dictionary) of that locale is built from the titles and aliases (11 passages, no note) of its entities (note: Entity) and the pack's stopwords, its occurrences (note: Occurrence) are scanned with the pack's normalisation, and its index (note: Alphabetical index) collates with its rules (note: Rule).
  5. Give the interface (21 passages, no note) its labels (44 passages, no note): the site (note: Site) takes every label from a message catalogue per locale (3 passages, no note); a locale without one falls back to English until the catalogue (12 passages, no note) exists.

Properties5

Domain
Ingestion
Status
valid
Execution
human
Triggers
a source written in a language the engine does not ship

5 declared keys. The rest of the file is free text.

On this page1

  1. Steps
See the neighbourhood map6 pages6Neighbourhood mapAdding a language pack

Neighbourhood map Adding a language pack

Distance1 hop

Neighbourhood map. The list below carries the same information as the map.existing pageword without a note

27 neighbours in total, more than the map shows.

textual equivalent

Six neighbours at most, always named. Beyond that the map teaches nothing: the list takes over.