mirror of
https://github.com/element-hq/element-web
synced 2024-11-25 18:55:58 +03:00
Add docs for custom_translations_url (#21188)
This commit is contained in:
parent
c13a1908df
commit
087aed80dd
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue