diff options
| author | secondl1ght <[email protected]> | 2022-08-24 19:51:31 -0400 |
|---|---|---|
| committer | secondl1ght <[email protected]> | 2022-08-24 19:51:31 -0400 |
| commit | 34e0dc45994621c4cc7f46e5a974a5236b021178 (patch) | |
| tree | 2e814b5c32d6c68b0b5de5a23378b31763f65f6f /doc/i18n-technical.md | |
| parent | 47d5d5bc6cdcd39f8d5ad93d9f5d15d3403c6c21 (diff) | |
| download | coinos-ui-34e0dc45994621c4cc7f46e5a974a5236b021178.tar.gz coinos-ui-34e0dc45994621c4cc7f46e5a974a5236b021178.zip | |
remove duplicate elements and format
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 |
