@imgly/plugin-ai-video-generation-web 0.2.15 → 0.2.16
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/CHANGELOG.md +17 -0
- package/README.md +20 -2
- package/dist/.tsbuildinfo +1 -1
- package/dist/eachlabs/index.mjs +6 -6
- package/dist/eachlabs/index.mjs.map +4 -4
- package/dist/fal-ai/index.mjs +8 -8
- package/dist/fal-ai/index.mjs.map +4 -4
- package/dist/index.mjs +7 -7
- package/dist/index.mjs.map +4 -4
- package/dist/runware/index.mjs +6 -6
- package/dist/runware/index.mjs.map +4 -4
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.2.16] - 2026-01-16
|
|
6
|
+
|
|
7
|
+
### New Features
|
|
8
|
+
|
|
9
|
+
- [all] **Translatable Action Labels**: AI plugin action labels now support full i18n through `labelKey` property, enabling dynamic translation resolution based on the current locale.
|
|
10
|
+
- [generation-web] **setDefaultTranslations Utility**: Added `setDefaultTranslations()` function that only sets translation keys that don't already exist, allowing integrators to customize translations before plugins load without being overwritten.
|
|
11
|
+
- [all] **External Translation Files**: Plugin translations are now loaded from external `translations.json` files, making it easier to review and customize available translation keys.
|
|
12
|
+
|
|
13
|
+
### Improvements
|
|
14
|
+
|
|
15
|
+
- [all] **Translation Override Pattern**: All AI plugins now use `setDefaultTranslations()` instead of `setTranslations()`, ensuring integrator-provided translations take priority over plugin defaults.
|
|
16
|
+
- [apps-web] **Dynamic Card Labels**: AI Apps panel now resolves card labels dynamically using `labelKey` from action metadata, enabling proper i18n for app cards.
|
|
17
|
+
|
|
18
|
+
### Documentation
|
|
19
|
+
|
|
20
|
+
- [all] Added comprehensive i18n documentation to README files explaining how to customize translations before plugin initialization.
|
|
21
|
+
|
|
5
22
|
## [0.2.15] - 2026-01-12
|
|
6
23
|
|
|
7
24
|
### New Features
|
package/README.md
CHANGED
|
@@ -1255,9 +1255,27 @@ currentOrder.splice(2, 0, 'ly.img.ai.video-generation.dock');
|
|
|
1255
1255
|
cesdk.ui.setDockOrder(currentOrder);
|
|
1256
1256
|
```
|
|
1257
1257
|
|
|
1258
|
-
##
|
|
1258
|
+
## Internationalization (i18n)
|
|
1259
1259
|
|
|
1260
|
-
|
|
1260
|
+
The Video Generation plugin supports full internationalization. To customize translations, set them **before** adding the plugin:
|
|
1261
|
+
|
|
1262
|
+
```typescript
|
|
1263
|
+
cesdk.i18n.setTranslations({
|
|
1264
|
+
en: {
|
|
1265
|
+
'@imgly/plugin-ai-video-generation-web.action.label': 'Create Video'
|
|
1266
|
+
},
|
|
1267
|
+
de: {
|
|
1268
|
+
'@imgly/plugin-ai-video-generation-web.action.label': 'Video erstellen'
|
|
1269
|
+
}
|
|
1270
|
+
});
|
|
1271
|
+
|
|
1272
|
+
// Then add the plugins - they won't override your custom translations
|
|
1273
|
+
await cesdk.addPlugin(AiApps({ providers: { /* ... */ } }));
|
|
1274
|
+
```
|
|
1275
|
+
|
|
1276
|
+
For detailed documentation on the translation system, see the [Internationalization section](https://github.com/imgly/plugins/tree/main/packages/plugin-ai-generation-web#internationalization-i18n) in the core AI generation package.
|
|
1277
|
+
|
|
1278
|
+
For all available translation keys, see the [translations.json](https://github.com/imgly/plugins/tree/main/packages/plugin-ai-video-generation-web/translations.json) file.
|
|
1261
1279
|
|
|
1262
1280
|
## Related Packages
|
|
1263
1281
|
|