From ab605c3def79a357eed8219eb69b5904b92063e0 Mon Sep 17 00:00:00 2001 From: eric-intuitem <71850047+eric-intuitem@users.noreply.github.com> Date: Mon, 30 Dec 2024 11:56:11 +0100 Subject: [PATCH] Update data-model.md --- documentation/architecture/data-model.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/documentation/architecture/data-model.md b/documentation/architecture/data-model.md index dce95dae0..fb530d61c 100644 --- a/documentation/architecture/data-model.md +++ b/documentation/architecture/data-model.md @@ -900,6 +900,14 @@ Example: } ``` +## Internationalization approach + +The general approach is to translate everything in the frontend. We use paraglide to faciliate this process. + +The only exception is that referential objects are translated by the backend. The ACCEPT_LANGUAGE header in the request is used to indicate which language is used on the frontend side. The backend selects the most appropriate language to use (either the requested language, or the default language of the library). + +Note: generated documents (pdf, excel, word) are currently translated in the backend, but this should be migrated in the frontend. + ## Access control model All objects in CISO Assistant follow a simple and consistent RBAC IAM model, including IAM objects themselves.