jshcrowthe / wc-i18n

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.

Home Page:https://jshcrowthe.github.io/wc-i18n

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use AJAX feature in your component.

sumukhj84 opened this issue · comments

Your component is awsome!! how i can use the AJAX behavior to load the locales as you mentioned in your docs.

Thanks for using it! Feel free to give it a star!

As for your question take a look at: https://github.com/jshcrowthe/wc-i18n/blob/master/demo/demo-comp/demo-comp.html

It shows an example of creating a component that includes the required behavior and implements the function properly.

Thanks Josh for your help. I will take a look at it.

I am going to close this, let me know if you have questions.