A web component centric solution for i18n (inspired by pkaske/i18-n and ebidel/i18n-msg). Designed for individual web components that come with translations built into the component.
I'm trying to incorporate this wc-i18n into a Polymer 2 component, and the only trouble I ran into is the fact that this.is isn't supported. I forked the repo and added a function to replace this.is. I can create a PR using the code below or something similar, if you'd like.
I'm trying to incorporate this wc-i18n into a Polymer 2 component, and the only trouble I ran into is the fact that
this.is
isn't supported. I forked the repo and added a function to replace this.is. I can create a PR using the code below or something similar, if you'd like.