71 Posts
Dgikar
8 years ago
Topic

Hi All

How to set the language variable in Custom Attributes?

Tried so:

  • J(LANG_VAR)
  • LANG_VAR

Not working...


Thank you advance for your answer

Get a Book for SEBLOD
178 Posts
Jeka
8 years ago
1
Level 1

Hi.

placeholder="J(MESSAGE_FORM_EMAIL)"

It works for me. What field do you use? 

71 Posts
Dgikar
8 years ago
0
Level 2

I use - Radio field

8 years ago
0
Level 1

Hi Dgikar,

You're right custom attributes values are not JText processed.

A workaround is to have one field with custom attributes per languages and to display them or not with the language restriction plugin.

Thanks

Get a VIP membership