From a32718720561fb6327581391e4106e4fde1e0243 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Mili=C4=87?= Date: Wed, 16 Oct 2024 12:54:52 +0200 Subject: [PATCH] docfix/Add a new language documentation --- README.md | 10 ++++++++++ cheat_sheet.md | 2 ++ 2 files changed, 12 insertions(+) diff --git a/README.md b/README.md index d30764036..008acde83 100644 --- a/README.md +++ b/README.md @@ -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` \ No newline at end of file diff --git a/cheat_sheet.md b/cheat_sheet.md index 7b2e8fd3a..94c6b4006 100644 --- a/cheat_sheet.md +++ b/cheat_sheet.md @@ -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) +