buerokratt / Machine-Translation-to-Buerokratt

0 stars 1 forks source link

Bürokratt communicates in the webpage language if applicable #1

Open kerlikur opened 2 years ago

kerlikur commented 2 years ago

AS AN End user I WANT TO communicate with the Bürokratt in the language selected on the webpage SO THAT I can use Bürokratt services

Acceptance Criteria:

turnerrainer commented 2 years ago

@kerlikur

Bürokratt detects selected language

What do you mean by "selected"?

  1. A dropdown selection from a predefined list; or
  2. Automatic language detection based on user's input?
kerlikur commented 2 years ago

@turnerrainer It should only take the language selected from the web page. Usually there are language options in the navigation bar as buttons not as dropdown. Automatic language detection in chat widget #2

Keron320 commented 1 year ago

Issue might not be viable for the current project @TarmoKlaarRIA

TarmoKlaarRIA commented 1 year ago

The language of the page can be detected if the CMS adds the correct/selected content-language tag to the page. https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/lang Support depends on the software and structure of the website.

The widget language can be used first