Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable automatic translation for chat messages #17

Open
svenseeberg opened this issue May 22, 2024 · 2 comments
Open

Enable automatic translation for chat messages #17

svenseeberg opened this issue May 22, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@svenseeberg
Copy link
Member

svenseeberg commented May 22, 2024

The Integreat CMS needs to translate the incoming messages for each ticket into the region main language. Returned messages need to be translated into the app language.

The original post can be stored as the main request. The translation can be saved as an internal note within the ticket. It will not be returned to the user with #21

Answers can either be updated or a second translated answer can be created.

For translations (for the time being) the region translation budget will be used.

@svenseeberg svenseeberg added this to the Automatic Translation milestone May 22, 2024
@svenseeberg svenseeberg added the enhancement New feature or request label Jun 26, 2024
@svenseeberg
Copy link
Member Author

svenseeberg commented Sep 11, 2024

To implement the functionality, we need to add the green marked flows and edit the yellow ones:

image

(Black is already implemented and blue is out of scope / next milestone.)

@svenseeberg
Copy link
Member Author

svenseeberg commented Sep 11, 2024

There is one issue we need to solve: Zammad Webhooks to the Integreat CMS should only be triggered if a person updates a ticket. When either the Integreat CMS user or the system itself updates a ticket, nothing should happen.

This seems to work:

image

https://docs.zammad.org/en/latest/install/elasticsearch/indexed-attributes.html

The easiest way to filter automatically created messages in webhooks is the article subject (not ticket subject) and set it to automatically generated message:

image

Alternatively, we can create a dedicated user Integreat CMS Auto Message <tech+integreat-cms-auto-message@tuerantuer.org> that can be set as recipient for all automatically created messages. We can then use the Trigger in Zammad to ignore all events that have this recipient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant