chutney-testing/chutney-legacy

๐Ÿš€ | HTML lang attribute should follow the chosen language

Opened this issue ยท 0 comments

Describe your use case

A vocal synthetizer for example use this attribute to pick accent.

Is your feature request related to a problem ?

Not yet...

Describe the solution you'd like

The change should be done in https://github.com/chutney-testing/chutney/blob/6f9b28a3c24cde1934c9f2e329a356c07340dac0/ui/src/index.html#L1.

In Angular, this could be done by setting this.document.documentElement.lang in application component.
But maybe there is a simpliest solution ?

We could use this feature to switch to https://angular.io/guide/i18n-overview#angular-internationalization.

Link to examples

No response