From 01badcdb361ed2424e37ae5f13e2be87629b39d4 Mon Sep 17 00:00:00 2001 From: Luc Didry Date: Wed, 5 Apr 2023 11:28:48 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20=E2=80=94=20Document=20the=20LAN?= =?UTF-8?q?GUAGE=20env=20var.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 7392b3d..4416d48 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,7 @@ This will build a Docker image for [Collabora Online](https://www.collaboraoffic - [General Usage](#general-usage) - [Administration](#administration) - [Logging](#logging) + - [Language](#languages-for-writing-aids-spell-checker-grammar-checker-thesaurus-hyphenation) - [Spell Check](#spell-check) - [TLS Settings](#tls-settings) - [Performance and Limits](#performance-and-limits) @@ -173,6 +174,23 @@ Be sure to view the following repositories to understand all the customizable op | `LOG_LIBREOFFICE` | Log filter what Libreoffice entries | `-INFO-WARN` | | `LOG_PROTOCOL` | Log Client Server Protocol | `false` | +#### Languages for writing aids (spell checker, grammar checker, thesaurus, hyphenation) + +The image comes with English (US, GB variants) baked into the image, however upon container startup you can add more languages via environment variables. +Add multiple languages by seperating with a space. + +| Parameter | Value | Description | +| -------------- | ------- | -------------------------- | +| `LANGUAGE` | `en_GB` | English (Great Britain) | +| | `en_US` | English (US) | +| | `fr_FR` | French (France) | + +The above table is just a sample of valid values. + +Please note that allowing too many has negative effect on startup performance. + +Default value: `en_GB en_US` + #### Spell Check The image comes with English (US, GB, Canada variants) baked into the image, however upon container startup you can add more spell check variants via environment variables. Add multiple dictionaries by seperating with a comma. @@ -224,6 +242,7 @@ The image comes with English (US, GB, Canada variants) baked into the image, how | | `uk` | Ukranian | | | `vi` | Vietnamese | +Don’t forget to add the according languages to the [`LANGUAGE`](#languages-for-writing-aids-spell-checker-grammar-checker-thesaurus-hyphenation) environment variable. #### TLS Settings | Parameter | Description | Default |