#Where to set language of html?
2 messages · Page 1 of 1 (latest)
Hi, in etry.ssr.tsx
import { renderToStream, type RenderToStreamOptions } from '@builder.io/qwik/server';
import { manifest } from '@qwik-client-manifest';
import Root from './root';
export default function (opts: RenderToStreamOptions) {
return renderToStream(<Root />, {
manifest,
...opts,
// Use container attributes to set attributes on the html tag.
containerAttributes: {
lang: 'my-lang',
...opts.containerAttributes,
},
});
}