Spring boot and I18N localization

I want use in spring boot like in your Documentation
https://vaadin.com/docs/flow/advanced/tutorial-i18n-localization.html

the localization as a system property

-Dvaadin.i18n.provider=com.vaadin.example.ui.TranslationProvider

How can i set it, best way for me would be in application.property

You can add the annotation @Component in the TranslationProvider and it should work fine.

I just tested it with en and de.