Hi,
Thanks for this embla plugin.
When using it I've stumbled upon an error being thrown on module initializing.
If the locale does not exist in the translations files, the plugin throws an error and it's preventing the carousel from initializing.
|
intl = getIntl(options.locale); |
Would you be open to be merging a pr that prevent the module from crashing when the locale does not exist in the resource of the module and uses the default language (en-US) ?
Regards
Hi,
Thanks for this embla plugin.
When using it I've stumbled upon an error being thrown on module initializing.
If the locale does not exist in the translations files, the plugin throws an error and it's preventing the carousel from initializing.
embla-carousel-aria/src/plugins/aria.ts
Line 55 in 8589d71
Would you be open to be merging a pr that prevent the module from crashing when the locale does not exist in the resource of the module and uses the default language (en-US) ?
Regards