mattermost-community / mattermost-app-zendesk

Zendesk App for Mattermost
13 stars 10 forks source link

Pass any user-facing strings into an i18n service #22

Open mickmister opened 3 years ago

mickmister commented 3 years ago

In order to prepare for localization, we should start putting any user-facing strings through an i18n pipeline.

We can eventually use something robust like https://github.com/mashpie/i18n-node for the javascript apps

mickmister commented 3 years ago

First step would just to introduce a class LocalizationHandler that does basically nothing. Then we can move to a more robust implementation.

We should be creating the ids for the strings as we go. Something like zendesk.ticket.not_found