Bakery App

Where does the Bakery Start App get the tags for the html-head, for example
for the

<html lang="en">

I Can’t get figure it out on which place this is done or added automatically with the correct language?

Hi Ines,

The html tag is generated by the core of Flow framework, i.e. com.vaadin.flow.server.BootstrapHandler. For instance in this particular example, to change the language on the html tag you can set the UI’s Locale UI.getCurrent().setLocale(Locale.GERMANY); in your main layout, then the html code will look like <html lang="de">.

Kind regards,
Bogdan.

I figured out, that the Vaadin-Session uses the language from the browser settings. So everything works fine, now. :slight_smile: