i18n-polyfill icon indicating copy to clipboard operation
i18n-polyfill copied to clipboard

example doesn't work on my post

Open Macadoshis opened this issue 6 years ago • 1 comments

Hello,

I cloned the project and started "example/src/i18n" as-is, but it seems that the labels from html file are not translated. Translation does actually work using I18n service (see chrome console).

image

I even added : <h2 i18n>another test ^_^</h2> inside index.html, but this key doesn't get translated either.

image

What am I missing ?

Macadoshis avatar Jan 22 '18 11:01 Macadoshis

I don't believe the HTML is supposed to be translated because you're expected to use the built in angular i18n. Only the calls to the polyfill are translated because that's all this lib does.

JacobSiegle avatar Nov 12 '18 14:11 JacobSiegle