Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

🚀 | HTML lang attribute should follow the chosen language #936

Open
boddissattva opened this issue Nov 21, 2022 · 0 comments
Open

🚀 | HTML lang attribute should follow the chosen language #936

boddissattva opened this issue Nov 21, 2022 · 0 comments
Labels
enhancement New feature or request UI dev needed on user interface

Comments

@boddissattva
Copy link
Member

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

@boddissattva boddissattva added enhancement New feature or request UI dev needed on user interface labels Nov 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request UI dev needed on user interface
Projects
None yet
Development

No branches or pull requests

1 participant