docfix/Add a new language documentation

This commit is contained in:
Marko Milić 2024-10-16 12:54:52 +02:00
parent 34fa53c085
commit a327187205
2 changed files with 12 additions and 0 deletions

View File

@ -674,3 +674,13 @@ resourceDocs += ResourceDoc(
...
)
```
## Language support
### Add a new language
An additional language can be added via props `supported_locales`
Steps to add Spanish language:
* tweak the property supported_locales = en_GB to `supported_locales = en_GB,es_ES`
* add file `lift-core_es_ES.properties` at the folder `/resources/i18n`
Please note that default translation file is `lift-core.properties`

View File

@ -34,4 +34,6 @@
[API Tester](https://github.com/OpenBankProject/API-Tester/blob/master/README.md)
[Language support](https://github.com/OpenBankProject/OBP-API/tree/develop?tab=readme-ov-file#language-support)