From 087aed80dd667b0d8596363b12891d0a13d1bbb5 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Tue, 1 Mar 2022 11:53:12 -0700 Subject: [PATCH] Add docs for custom_translations_url (#21188) --- docs/config.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/config.md b/docs/config.md index 5d6da407a1..7ef751a5bc 100644 --- a/docs/config.md +++ b/docs/config.md @@ -190,6 +190,9 @@ For a good example, see https://develop.element.io/config.json. when explaining to the user where data is being sent. If not set, defaults to `brand`. 1. `defaultDeviceDisplayName`: The default device display name to use for new logins and registrations. If not set then a calculated version will be used. +1. `custom_translations_url`: An optional URL to allow overriding of translatable strings. + The JSON file must be in a format of `{"affected string": {"languageCode": "new string"}}`. + See https://github.com/matrix-org/matrix-react-sdk/pull/7886 for details. Note that `index.html` also has an og:image meta tag that is set to an image hosted on riot.im. This is the image used if links to your copy of Element