@nice2dev/i18n 1.3.13 → 1.3.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,12 +5,23 @@ Shared internationalization infrastructure for Nice2Dev UI libraries.
5
5
  ## Features
6
6
 
7
7
  - **NiceI18nProvider** — React context for translations
8
- - **30 built-in languages**, loaded one at a time — en, pl, de, fr, es, it, pt, nl, sv, no, da, fi, cs, sk, hu, ro, bg, uk, ja, ko, zh, ar, hi, bn, th, vi, id, sw, fil, ms
9
- - **ICU MessageFormat** — pluralization, gender, ordinals, select
8
+ - **30 built-in languages**, loaded one at a time (see [Language coverage](#language-coverage))
9
+ - **Placeholders** — texts carry `{name}`-style placeholders the controls fill in
10
10
  - **RTL support** — Arabic, Hebrew with automatic dir attribute
11
11
  - **Browser detection** — `detectBrowserLanguage()` auto-detects user preference
12
12
  - **Custom translations** — plug in your own `t()` function (react-i18next compatible)
13
13
 
14
+ ## Language coverage
15
+
16
+ | Coverage | Languages |
17
+ | ------------------------------------------ | ------------------------------------------------------------------------- |
18
+ | **Complete** — every text of every control | en, pl, de, fr, es, uk; it, pt (Brazilian), cs, ja, ko, ar (since 1.3.14) |
19
+ | **Partial** — a few hundred common texts | zh |
20
+ | **Basic** — a few dozen universal terms | nl, sv, no, da, fi, sk, hu, ro, bg, hi, bn, th, vi, id, sw, fil, ms |
21
+
22
+ A key a dictionary does not have shows the control's built-in English text (the default passed
23
+ to `t(key, default)`), not a key name. Your own `overrides` (or your own `t`) fill any gap.
24
+
14
25
  ## Installation
15
26
 
16
27
  ```bash