Skip to content

Conversation

@mirko314
Copy link
Contributor

@mirko314 mirko314 commented Jan 13, 2026

Summary

  • Fix action labels to use i18n translation keys instead of hardcoded strings, making AI plugin actions translatable
  • Add complete German translations to all AI plugin translations.json files
  • Fix testTranslations.ts to properly use locale-specific translations (was using English for both locales)
  • Use "Prompt" as anglicism in German (industry standard per Adobe Firefly and other AI tools)
  • Fix German grammar issues: "Negativer Prompt", "Ruhiges Neon", "Moderne Volkskunst"
  • Add unit tests for action label translation functionality

Fixes https://github.com/imgly/ubq/issues/13630

Test plan

  • Verify action labels are translatable via i18n
  • Verify German translations display correctly when locale is set to de
  • Verify test translations show proper prefixes (& for generic, @ for provider-specific)
  • Run unit tests for action label translation
  • Manual testing: Set locale to German and verify all AI panel labels

🤖 Generated with Claude Code

…lations

- Fix action labels to use i18n translation keys instead of hardcoded strings
- Add German translations to all AI plugin translations.json files
- Fix testTranslations.ts to properly use locale-specific translations
- Use "Prompt" as anglicism in German (industry standard per Adobe Firefly)
- Fix German grammar: "Negativer Prompt", "Ruhiges Neon", "Moderne Volkskunst"
- Add unit tests for action label translation functionality
@vercel
Copy link

vercel bot commented Jan 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
eachlabs-demo Ready Ready Preview, Comment Jan 14, 2026 4:50pm
plugins-bytedance Error Error Jan 14, 2026 4:50pm
plugins-web Error Error Comment Jan 14, 2026 4:50pm

The demo app should default to English, not German. Users can set
locale to 'de' to test German translations if needed.
Translated missing German translations for Veo3.1, Sora-2, and Kling providers:
- Duration values (4s, 6s, 12s → Sekunden)
- Prompt placeholders (Describe your video scene → Beschreiben Sie Ihre Videoszene)
- Motion descriptions (Describe the motion → Beschreiben Sie die Bewegung)
- UI labels (Source Image → Quellbild, Enhance Prompt → Prompt verbessern)
- Format labels (Wide → Breit, Tall → Hoch)
CreativeEditorSDK.create(domElement, {
license: import.meta.env.VITE_CESDK_LICENSE_KEY,
// Set to 'de' to test German translations
locale: 'en',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to commit that as the default? 🙈

Removed the "de" sections from all translation JSON files:
- plugin-ai-audio-generation-web
- plugin-ai-generation-web
- plugin-ai-image-generation-web
- plugin-ai-sticker-generation-web
- plugin-ai-text-generation-web
- plugin-ai-video-generation-web
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants