First of all: thank you for this plugin. It's really valuable.
But I have a feature request. In my usecase, I have a Vue project using vue-i18n. Everything is working fine, except one issue: your plugin does type conversion where it shouldn't. vue-i18nrequires all translations to be string. Otherwise it doesn't get translated. But your plugin converts number like strings to numbers.
For example: I have dozens of positions where the address of the company gets displayed. My solution was to throw this into vue-i18n like everything else text related which gets displayed on the website. So I have a json like this:
First of all: thank you for this plugin. It's really valuable.
But I have a feature request. In my usecase, I have a Vue project using
vue-i18n
. Everything is working fine, except one issue: your plugin does type conversion where it shouldn't.vue-i18n
requires all translations to bestring
. Otherwise it doesn't get translated. But your plugin converts number like strings to numbers.For example: I have dozens of positions where the address of the company gets displayed. My solution was to throw this into
vue-i18n
like everything else text related which gets displayed on the website. So I have ajson
like this:Using
easy-i18n
produces this:Result:
vue-i18n
cannot handle this. Given path (company.streetNumber
) is not getting translated to42
.It would be really nice to have an option to disable this conversion.