Skip to content

Conversation

@itsdaveit
Copy link

@itsdaveit itsdaveit commented Nov 13, 2025

Would like to get the helpdesk/tickets view translated, at many places Translations have not been integrated yet, this should fix most places. Not sure if this is the way to go, i would be thankful for feedback on this.

- Wrap sidebar labels in __() translation function
- Convert sidebar options to computed properties for runtime translation
- Add German translations for:
  - Navigation items (Search, Dashboard, Notifications, Help)
  - Sidebar controls (Collapse, Expand)
  - Main menu items (Tickets, Knowledge Base, Canned responses, Customers, Contacts, Call Logs)
  - Customer page labels (New customer, No Customers Found)
- Update de.po locale file with all new translations

This ensures translations are evaluated at runtime when window.translatedMessages
is available from the backend API.
- Add translationsLoaded ref to track when translations are available
- Update translate() function to access translationsLoaded.value, creating reactive dependency
- Add missing translations to Customers.vue page
- Ensures computed properties re-evaluate when translations are loaded from backend

This fixes the issue where sidebar menu items and customer page labels
remained in English even though translations were present in de.po
- Create useTranslation composable that wraps translations in computed
- Update Sidebar.vue to use reactive translations via useTranslations()
- Update MobileSidebar.vue to use reactive translations
- Ensures ALL translations (including template-level ones) re-evaluate when loaded

This fixes the issue where some translations (Search, Notifications, Help,
Collapse/Expand) remained in English because they were evaluated before
translationsLoaded signal was set. Now all translations are wrapped in
computed properties that reactively depend on translationsLoaded.
- Keep placeholder hardcoded in English: 'Search or type # to go to ticket'
- Remove tSearchPlaceholder reactive translation
- Remove placeholder translation from de.po
- Keep all other translations working (Jump to, Tickets, Knowledge Base, etc.)

Placeholder translation in input elements doesn't work reliably with
HeadlessUI ComboboxInput component. Rest of the dialog translations
work correctly and are kept.
- Replace __() function with useTranslation composable for reactive translations
- Update components: CannedResponses, Contacts, Customers, KnowledgeBase, CallUI, EmptyState
- Add German translations for HD Customer and HD Article DocType labels
- Translate standard DocType fields (Created On, Modified, Customer Name, etc.)
- Ensure UI updates when translations load asynchronously
- Make DiscardButton translations reactive with useTranslation composable
- Add reactive column label translations in ListViewBuilder
- Translate TextEditor discard button
- Add search placeholder translation to command palette
- Implement reactive translations in TicketNew form
- Add 33 new German translations to de.csv
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