@mmstack/translate 20.5.0 → 20.5.1

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.
Files changed (2) hide show
  1. package/README.md +12 -12
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -34,18 +34,18 @@ It uses the robust **FormatJS** Intl runtime (`@formatjs/intl`) for ICU message
34
34
 
35
35
  While Angular offers excellent i18n solutions like `@angular/localize` and `transloco`, `@mmstack/translate` aims to fill a specific niche.
36
36
 
37
- | Feature | `@mmstack/translate` | `@angular/localize` | `transloco` | `ngx-translate` |
38
- | :----------------------- | :---------------------------------: | :----------------------: | :---------------------------: | :------------------------: |
39
- | **Build Process** | ✅ Single Build | ❌ Multi-Build (Typical) | ✅ Single Build | ✅ Single Build |
40
- | **Translation Timing** | Runtime | Compile Time | Runtime | Runtime |
41
- | **Type Safety (Keys)** | ✅ Strong (Inferred from structure) | 🟡 via extraction | 🟡 Tooling/TS Files | 🟡 OK Manual/Tooling |
42
- | **Type Safety (Params)** | ✅ Strong (Inferred from ICU) | ❌ None | 🟡 Manual | 🟡 Manual |
43
- | **Locale Switching** | 🔄 Page Refresh Required | 🔄 Page Refresh Required | ✅ Dynamic (Runtime) | ✅ Dynamic (Runtime) |
44
- | **Lazy Loading** | ✅ Built-in (Namespaces/Resolvers) | N/A (Compile Time) | ✅ Built-in (Scopes) | ✅ Yes (Custom Loaders) |
45
- | **Namespacing/Scopes** | ✅ Built-in | ❌ None | ✅ Built-in (Scopes) | 🟡 Manual (File Structure) |
46
- | **ICU Support** | ✅ Subset (via FormatJS Runtime) | ✅ Yes (Compile Time) | ✅ Yes (Runtime Intl/Plugins) | 🟡 Via Extensions |
47
- | **Signal Integration** | ✅ Good (`t.asSignal()`) | N/A | ✅ Good (`translateSignal()`) | ❌ Minimal/None |
48
- | **Maturity / Community** | ✨ New | Core Angular | ✅ Mature / Active | ✅ Mature |
37
+ | Feature | `@mmstack/translate` | `@angular/localize` | `transloco` | `ngx-translate` |
38
+ | :----------------------- | :----------------------------------: | :----------------------: | :---------------------------: | :------------------------: |
39
+ | **Build Process** | ✅ Single Build | ❌ Multi-Build (Typical) | ✅ Single Build | ✅ Single Build |
40
+ | **Translation Timing** | Runtime | Compile Time | Runtime | Runtime |
41
+ | **Type Safety (Keys)** | ✅ Strong (Inferred from structure) | 🟡 via extraction | 🟡 Tooling/TS Files | 🟡 OK Manual/Tooling |
42
+ | **Type Safety (Params)** | ✅ Strong (Inferred from ICU) | ❌ None | 🟡 Manual | 🟡 Manual |
43
+ | **Locale Switching** | ✅ Dynamic (Runtime) or Page refresh | 🔄 Page Refresh Required | ✅ Dynamic (Runtime) | ✅ Dynamic (Runtime) |
44
+ | **Lazy Loading** | ✅ Built-in (Namespaces/Resolvers) | N/A (Compile Time) | ✅ Built-in (Scopes) | ✅ Yes (Custom Loaders) |
45
+ | **Namespacing/Scopes** | ✅ Built-in | ❌ None | ✅ Built-in (Scopes) | 🟡 Manual (File Structure) |
46
+ | **ICU Support** | ✅ Subset (via FormatJS Runtime) | ✅ Yes (Compile Time) | ✅ Yes (Runtime Intl/Plugins) | 🟡 Via Extensions |
47
+ | **Signal Integration** | ✅ Good (`t.asSignal()`) | N/A | ✅ Good (`translateSignal()`) | ❌ Minimal/None |
48
+ | **Maturity / Community** | ✨ New | Core Angular | ✅ Mature / Active | ✅ Mature |
49
49
 
50
50
  ## Installation & Configuration
51
51
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mmstack/translate",
3
- "version": "20.5.0",
3
+ "version": "20.5.1",
4
4
  "keywords": [
5
5
  "angular",
6
6
  "localize",