diff options
Diffstat (limited to 'doc/i18n-technical.md')
| -rw-r--r-- | doc/i18n-technical.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/i18n-technical.md b/doc/i18n-technical.md index 46fbb094..51e33fe6 100644 --- a/doc/i18n-technical.md +++ b/doc/i18n-technical.md @@ -13,9 +13,9 @@ CoinOS's internationalization system depends on the `npm` package [`sveltekit-i1 The main code for CoinOS's internationalization is at `src/lib/translations/index.js`. When imported, it does the following: 1. Load all of the locales asynchronously, based on . -3. Initialize `sveltekit-i18n`. +2. Initialize `sveltekit-i18n`. -It also defines important constants, including the list of available locales and the default locale. This code is loaded by importing `$lib/translations` in `src/routes/+layout.svelte`. This code, which runs in the frontend, also persists the locale in `localStorage`. +It also defines important constants, including the list of available locales and the default locale. This code is loaded by importing `$lib/translations` in `src/routes/+layout.svelte`. This code, which runs in the frontend, also persists the locale in `localStorage`. ## Locale Files |
