ozanyurtsever/verbum

Cannot use localization

Closed this issue · 2 comments

Describe the bug
setting locale to 'fr' produces this error in the console:

image

and no editor rendered. Unsetting locale make the editor visible, but not all the texts are translated (browser language is IT):

image

To Reproduce
Steps to reproduce the behavior:

  1. Use the example provided
  2. set locale="fr"

Expected behavior
Editor should be localized in french

Desktop (please complete the following information):

  • OS: MacOS 13.0.1
  • Browser: Chrome 108.0.5359.124
  • Version: 0.4.1

This is happening without any locale too
waiting for any possible sollution

import './locale';

this import is not used in compiled code, probably cause it value not used in code, so actual initialization of i18n isn't happening in npm package