Set localize to Vault with React

I need set locale to vault component in react. How I can do It. In documentation, it is solved dhx.i18n.setLocale(“vault”, de); but in react it not work.

Thanks

You can use import for i18n, like

import { Vault, i18n } from "dhx-vault"