Hi everybody.
Could someone help me please
Is it possible to load json object with translation from variable, not from file.json?
yes, you can use setTranslation:
translate.setTranslation('en', {
"HELLO": "hello {{value}}"
});
Thank you, Olivier!
Hi,
I have one problem, I load some translates from .json file throught TranslateStaticLoader.
But I can use setTranslation for some content too, but setTranslation dont work for me..
I use ionic2-rc-2
Is this bug or? :)
Thanks.
Hello @ocombe... Is there any performance cons if we use the method 'setTranslation' instead of the normal load ?
Most helpful comment
yes, you can use
setTranslation: