Jump to content

Can't Translate Custom Field Dropdown Items


interfasys

Recommended Posts

?

There is no special code, got to "Client Custom Fields" add a custom field for a client group. Choose the Drop Down type, type the key in the "Option Name" field and add the key to your _custom.php.

The dropdown always shows the key instead of the translated text.

Link to comment
Share on other sites

If this is your language:

$lang['_CustomFields.drop1value1'] = "Value 1";
$lang['_CustomFields.drop1value2'] = "Value 2";

Then the keys you set in the "Name" field of the custom client field are "drop1value1" and "drop1value2", respectively. i.e. everything after "_CustomFields."

Link to comment
Share on other sites

I may have misunderstood.

 

Only the Name of the custom field, itself, can be used as a language definition. The Option Name of drop-down values do not use language definitions. Is that what you were referring to?

 

That might be a good feature request, though.

Link to comment
Share on other sites

  • 2 weeks later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...