Skip to content

Commit

Permalink
Specify internationalisation strategy (#1281)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed-Hacene authored Dec 30, 2024
2 parents d1416f8 + ab605c3 commit 7d6bea3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions documentation/architecture/data-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7d6bea3

Please sign in to comment.