ebidel / i18n-msg

Polymer element for i18n string replacement
https://ebidel.github.io/i18n-msg/
63 stars 21 forks source link

Placeholders #35

Open benjaminpg opened 8 years ago

benjaminpg commented 8 years ago

Hi, I rewrote my code according to your suggestion of using chrome.i18n API and this time I managed to not only make it works alike but include a demo and a couple of test. In case you don't remember: https://github.com/ebidel/i18n-msg/pull/33

The placeholders parameter receives an array with the values to be used and includes a listener.

Thanks!

Benjamin