Comment to 'Language Keys not working in the Injections'
  • Hello.

    Unfortunately, the current version of UNA doesn't allow to use language keys directly in injections. As I wrote it happens because of structural usage of injections.

    The only way I see is to use 'service' based injection. In this case the PHP service is executed first and therefore the languge key will be translated.

    • Thanks for your reply @Anton L . Sorry for the late answer. I didn't see the notification when you relied.

      BTW, what is a service based injection? Is this a special module? Sorry for my question. And how to use it. Thanks for helping.

      • Hello. Injections in UNA can be 'text' or 'service' based. The first variant is used in Studio -> Designer -> Injections. The text from HEAD/BODY injection fields is taken and inserted as is. Service based injection requires a service method which will be called to get the content to inject. Unfortunately there is no way to use it via Studio.

        • Well, I understand that there isn't any practical solution for this specific case in UNA core. Anyway. thanks