@owlmeans/i18n 0.2.4-rc.1 → 0.2.5-beta.0
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 +6 -8
- package/agent-meta/manifest.json +2 -2
- package/agent-meta/skills/i18n/SKILL.md +1 -1
- package/package.json +2 -2
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.
|
|
14
|
+
bun add @owlmeans/i18n@^0.2.5-beta.0
|
|
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', '
|
|
25
|
+
i18nHelper.addI18nApp('en', 'manager-web', {
|
|
26
26
|
'project.create.title': 'Create Project',
|
|
27
27
|
'project.create.submit': 'Create',
|
|
28
28
|
})
|
|
@@ -56,15 +56,13 @@ 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
|
-
### `
|
|
59
|
+
### `i18nStorage`
|
|
60
60
|
|
|
61
|
-
The
|
|
62
|
-
reached only through `i18nHelper`; platform-specific adapters (e.g. `@owlmeans/client-i18n`) drain
|
|
63
|
-
it with `i18nHelper.initI18nResource`.
|
|
61
|
+
The global translation store. Read by platform-specific i18n adapters (e.g. `@owlmeans/client-i18n`).
|
|
64
62
|
|
|
65
63
|
## Related Packages
|
|
66
64
|
|
|
67
|
-
- [`@owlmeans/client-i18n`](../client-i18n) — React i18next adapter that
|
|
65
|
+
- [`@owlmeans/client-i18n`](../client-i18n) — React i18next adapter that reads from `i18nStorage`
|
|
68
66
|
|
|
69
67
|
<!-- owlmeans:agent-guidance:start -->
|
|
70
68
|
## Agent guidance
|
|
@@ -74,7 +72,7 @@ This package ships embedded agent skills under `agent-meta/`. After installing y
|
|
|
74
72
|
your project's skill store (`.agents/skills/`):
|
|
75
73
|
|
|
76
74
|
```sh
|
|
77
|
-
npx @owlmeans/agent-skills@^0.2.
|
|
75
|
+
npx @owlmeans/agent-skills@^0.2.5-beta.0
|
|
78
76
|
```
|
|
79
77
|
|
|
80
78
|
The embedded files are version-matched to this package release. Do not edit them
|
package/agent-meta/manifest.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 3,
|
|
3
3
|
"package": "@owlmeans/i18n",
|
|
4
|
-
"version": "0.2.
|
|
5
|
-
"generatedAt": "2026-11-
|
|
4
|
+
"version": "0.2.5-beta.0",
|
|
5
|
+
"generatedAt": "2026-11-30T14:50:48.166Z",
|
|
6
6
|
"canonicalRepo": "https://github.com/owlmeans/common",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owlmeans/i18n",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5-beta.0",
|
|
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.
|
|
42
|
+
"@owlmeans/dep-config": "^0.2.5-beta.0",
|
|
43
43
|
"nodemon": "^3.1.14",
|
|
44
44
|
"typescript": "^7.0.2"
|
|
45
45
|
},
|