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 | f6ff5156b66efbb51ba046e37de65b466585124a (patch) | |
| tree | 6fed2233ad80097cd75a2a0340f199f2c564eef0 /doc/i18n-technical.md | |
| parent | 8f8f85983d2f4cb734ed15b33ebc140028711733 (diff) | |
| download | coinos-ui-f6ff5156b66efbb51ba046e37de65b466585124a.tar.gz coinos-ui-f6ff5156b66efbb51ba046e37de65b466585124a.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 |
