1. husq
  2. Features Request
  3. Friday, May 09 2014, 04:26 PM
hi,
So i created radio field with 0|Yes and 0|No. Is there way to translate in com_jsn.ini. I succeeded in translating every field but this one. Thanks !
admin Accepted Answer
Admin
Hi,
sorry for late reply.
You can use the Joomla Built in Override language, go on Admin->Extensions->Language->Override(on left menu) and Create Various constant.

Example
Options:
0|CONSTANT_VALUE1
0|CONSTANT_VALUE2

In override fo en-GB
CONSTANT_VALUE1->'constant 1 english translate'
CONSTANT_VALUE2->'constant 2 english translate'

In override fo fr-FR
CONSTANT_VALUE1->'constant 1 french translate'
CONSTANT_VALUE2->'constant 2 french translate'

In your case is simple because Joomla have predefined constant for Yes and No; so you option:
0|JNO
1|JYES
  1. more than a month ago
  2. Features Request
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.