Skip to content

Add i18n support for MQTT broker dialog and palette categories#13

Merged
ashaffah merged 2 commits into
mainfrom
i18n/broker-dialog
Jun 26, 2026
Merged

Add i18n support for MQTT broker dialog and palette categories#13
ashaffah merged 2 commits into
mainfrom
i18n/broker-dialog

Conversation

@ashaffah

Copy link
Copy Markdown
Owner

This pull request adds internationalization (i18n) support for the Brokers UI, ensuring that all user-facing text in the Brokers modal and related controls is translated using the app's translation system. New translation keys are added for both English and Indonesian.

Internationalization of Brokers UI:

  • All static text in Brokers.svelte (titles, hints, button labels, placeholders, and empty state messages) is now rendered using the t translation function and new i18n keys. [1] [2]
  • The Brokers button in App.svelte now uses the translation key for its label.
  • The translation function t is imported where needed to support these changes.

Translation dictionary updates:

  • New keys for Brokers-related text are added to the translation dictionaries in both English and Indonesian in i18n.svelte.js. [1] [2]

ashaffah added 2 commits June 26, 2026 15:07
The Brokers dialog (title, hint, add button, name placeholder, delete,
empty state) and the toolbar Brokers button were hardcoded English. Add
en/id keys and use t() so they follow the language toggle.
cat_common and cat_sequence were missing, so those palette group headers
showed the raw keys. Add en/id translations.
@ashaffah ashaffah merged commit 7651b68 into main Jun 26, 2026
1 check passed
@ashaffah ashaffah deleted the i18n/broker-dialog branch July 1, 2026 02:01
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.

1 participant