@owlmeans/i18n 0.2.4-rc.0 → 0.2.4

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
@@ -11,7 +11,7 @@ Multi-level translation resource registration for OwlMeans applications.
11
11
  ## Installation
12
12
 
13
13
  ```bash
14
- bun add @owlmeans/i18n@^0.2.4-rc.0
14
+ bun add @owlmeans/i18n@^0.2.4
15
15
  ```
16
16
 
17
17
  ## Usage
@@ -22,7 +22,7 @@ Register translations for a package at startup:
22
22
  import { i18nHelper } from '@owlmeans/i18n'
23
23
 
24
24
  // Register app-level translations (highest priority)
25
- i18nHelper.addI18nApp('en', 'manager-web', {
25
+ i18nHelper.addI18nApp('en', 'my-web', {
26
26
  'project.create.title': 'Create Project',
27
27
  'project.create.submit': 'Create',
28
28
  })
@@ -56,13 +56,15 @@ Register lazy language loaders, await them, and check whether they completed.
56
56
 
57
57
  Priority tiers: `Library` < `App`. App-tier translations win over library translations for the same key.
58
58
 
59
- ### `i18nStorage`
59
+ ### `I18nStorage`
60
60
 
61
- The global translation store. Read by platform-specific i18n adapters (e.g. `@owlmeans/client-i18n`).
61
+ The shape of the process-wide translation store. The store itself is internal to the package and is
62
+ reached only through `i18nHelper`; platform-specific adapters (e.g. `@owlmeans/client-i18n`) drain
63
+ it with `i18nHelper.initI18nResource`.
62
64
 
63
65
  ## Related Packages
64
66
 
65
- - [`@owlmeans/client-i18n`](../client-i18n) — React i18next adapter that reads from `i18nStorage`
67
+ - [`@owlmeans/client-i18n`](../client-i18n) — React i18next adapter that loads the registered bundles through `i18nHelper`
66
68
 
67
69
  <!-- owlmeans:agent-guidance:start -->
68
70
  ## Agent guidance
@@ -72,7 +74,7 @@ This package ships embedded agent skills under `agent-meta/`. After installing y
72
74
  your project's skill store (`.agents/skills/`):
73
75
 
74
76
  ```sh
75
- npx @owlmeans/agent-skills@^0.2.4-rc.1
77
+ npx @owlmeans/agent-skills@^0.2.4
76
78
  ```
77
79
 
78
80
  The embedded files are version-matched to this package release. Do not edit them
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 3,
3
3
  "package": "@owlmeans/i18n",
4
- "version": "0.2.4-rc.0",
5
- "generatedAt": "2026-11-25T14:32:53.656Z",
4
+ "version": "0.2.4",
5
+ "generatedAt": "2026-12-03T17:23:31.405Z",
6
6
  "canonicalRepo": "https://github.com/owlmeans/common",
7
7
  "entries": [
8
8
  {
@@ -8,7 +8,7 @@ user-invocable: false
8
8
  # @owlmeans/i18n
9
9
 
10
10
  **Layer:** Core (no runtime deps)
11
- **Install:** `"@owlmeans/i18n": "^0.2.4-rc.0"` in `dependencies`
11
+ **Install:** `"@owlmeans/i18n": "^0.2.4"` in `dependencies`
12
12
 
13
13
  ## Purpose
14
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owlmeans/i18n",
3
- "version": "0.2.4-rc.0",
3
+ "version": "0.2.4",
4
4
  "license": "MIT",
5
5
  "homepage": "https://owlmeans.com/docs/",
6
6
  "repository": {
@@ -39,7 +39,7 @@
39
39
  }
40
40
  },
41
41
  "devDependencies": {
42
- "@owlmeans/dep-config": "^0.2.4-rc.0",
42
+ "@owlmeans/dep-config": "^0.2.4",
43
43
  "nodemon": "^3.1.14",
44
44
  "typescript": "^7.0.2"
45
45
  },