Language custom system

Hi all,

i’m making a my language system for my site. It’s very simple.
A REST call read a file json than return an array with key-value.
Then I bind the key and I get the translation.

My problem there is on my Value-Converter:

Here, the console gives to me “undefined”…
so the question is:
How can I pass this service on the value converter?

Thanks to all would like to help me,
Andrea

2 Likes

Did you forget to declare the injection for the service? Or maybe @autoinject?

2 Likes

OMG! It’s so true. I didn’t put @autoinject… my big fail. :cold_sweat:
Thank you for this anwser! :smile:

1 Like

I did that (fail for exactly the same reason) many times. Now i see it in at a glance