@imgly/plugin-ai-apps-web 0.2.14 → 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 CHANGED
@@ -2,6 +2,31 @@
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
+
22
+ ## [0.2.15] - 2026-01-12
23
+
24
+ ### New Features
25
+
26
+ - [all] **EachLabs Partner Integration**: Added EachLabs as a new AI provider service with unified API access to multiple image and video generation models.
27
+ - **Image Generation**: Flux 2 Pro, Flux 2, Flux 2 Flex, Nano Banana Pro, OpenAI GPT Image, Seedream v4.5, Gemini 3 Pro (all with text-to-image and image-to-image variants)
28
+ - **Video Generation**: Kling v2.6 Pro, Kling O1, Veo 3.1 (text-to-video and image-to-video variants)
29
+
5
30
  ## [0.2.14] - 2025-12-15
6
31
 
7
32
  ## [0.2.13] - 2025-12-15
package/README.md CHANGED
@@ -539,10 +539,37 @@ CreativeEditorSDK.create(domElement, {
539
539
  });
540
540
  ```
541
541
 
542
- ## Translations
542
+ ## Internationalization (i18n)
543
543
 
544
- The AI Apps plugin uses translations from individual AI generation plugins. For customization, refer to the respective translation files:
544
+ The AI Apps plugin supports full internationalization. To customize translations, set them **before** adding the plugin:
545
545
 
546
+ ```typescript
547
+ CreativeEditorSDK.create(domElement, {
548
+ license: 'your-license-key',
549
+ locale: 'de'
550
+ }).then(async (cesdk) => {
551
+ // Set custom translations BEFORE adding plugins
552
+ cesdk.i18n.setTranslations({
553
+ en: {
554
+ '@imgly/plugin-ai-image-generation-web.action.label': 'Create Image',
555
+ 'panel.ly.img.ai.apps': 'AI Tools'
556
+ },
557
+ de: {
558
+ '@imgly/plugin-ai-image-generation-web.action.label': 'Bild erstellen',
559
+ 'panel.ly.img.ai.apps': 'KI-Werkzeuge'
560
+ }
561
+ });
562
+
563
+ // Now add the plugins - they won't override your custom translations
564
+ await cesdk.addPlugin(AiApps({ providers: { /* ... */ } }));
565
+ });
566
+ ```
567
+
568
+ For detailed documentation on the translation system, including all available translation keys and utilities, see the [Internationalization section](https://github.com/imgly/plugins/tree/main/packages/plugin-ai-generation-web#internationalization-i18n) in the core AI generation package.
569
+
570
+ ### Translation Files
571
+
572
+ - [AI Apps translations](https://github.com/imgly/plugins/tree/main/packages/plugin-ai-apps-web/translations.json) - AI Apps panel labels
546
573
  - [Base translations](https://github.com/imgly/plugins/tree/main/packages/plugin-ai-generation-web/translations.json) - Core translation keys
547
574
  - [Image generation translations](https://github.com/imgly/plugins/tree/main/packages/plugin-ai-image-generation-web/translations.json) - Image generation interfaces
548
575
  - [Video generation translations](https://github.com/imgly/plugins/tree/main/packages/plugin-ai-video-generation-web/translations.json) - Video generation interfaces