Skip to content

Option to change the language attribute #11706

@07Gond

Description

@07Gond

Is your feature request related to a problem? Please describe.
I need to test some multilingual sites and always the site is rendered with <html lang="en">

Describe the solution you'd like
The storybook .ejs template should include a language variable instead of the harcoded option as is it right now.

Describe alternatives you've considered
Maybe create an addon and we can change the language in runtime but not all the features could respond to the runtime changes. I think is better change the storybook template in order to accept variables there in the lang attribute.

Are you able to assist bring the feature to reality?
Yes, I can make a try. But if anyone can help me, would be great 😄

Additional context
Could be very useful if then we can change the lang attribute in the preview panel and the server reloads the page.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions