Replies: 2 comments 2 replies
-
What I do is getting the locale from location.href & manually pass it to the config And please refer the following https://grapesjs.com/docs/modules/I18n.html |
Beta Was this translation helpful? Give feedback.
-
Yes, but I have the plugin that doesn’t support I18n module and is using plugin config as translation array (label prefix). What then? Docs doesn’t say anything about this situation. If you want an example for better imagination, try translating grapesjs/blocks-basic. |
Beta Was this translation helpful? Give feedback.
-
Hello,
Imagine the situation, when the plugin you wanna use is using the plugin config properties (ex. labelTitle) to make the translations work. What is the proper way to integrate it with I18 module? editor.t('key')? Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions