Custom localization (#2837)

Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
HijackHornet
2022-09-22 11:49:35 +02:00
committed by GitHub
parent c10d53ba8e
commit 74191c73ed
13 changed files with 155 additions and 4 deletions

View File

@@ -26,6 +26,19 @@ The stash UI can be customised using custom CSS. See [here](https://github.com/s
[Stash Plex Theme](https://github.com/stashapp/stash/wiki/Theme-Plex) is a community created theme inspired by the popular Plex interface.
## Custom Locales
The localisation strings can be customised. The master list of default (en-GB) locale strings can be found [here](https://github.com/stashapp/stash/blob/develop/ui/v2.5/src/locales/en-GB.json). The custom locale format is the same as this json file.
For example, to override the `actions.add_directory` label (which is `Add Directory` by default), you would have the following in the custom locale:
```
{
"actions": {
"add_directory": "Some other description"
}
}
```
## Custom served folders