🌐(react) add i18n

We need to be able to use localized texts for various components, like for
accessible labels. We decided to setup a lightweight implementation of
localizable to avoid relying on an existing heavy library.
The Provider includes by default full translations for english, and it is
also made to be able to load easily any custom locale directly from the
Provider.
This commit is contained in:
Nathan Vasse
2023-02-20 16:26:30 +01:00
committed by NathanVss
parent 1df3b82571
commit 90feb4ba4a
14 changed files with 322 additions and 3 deletions

View File

@@ -10,4 +10,12 @@ services:
- "3201:3201"
- "6006:6006"
volumes:
- .:/app
- .:/app
crowdin:
image: crowdin/cli:3.10.0
user: "${DOCKER_USER:-1000}"
working_dir: /app
env_file: env.d/crowdin
volumes:
- ".:/app"