I've made a hack to allow people to translate fields option in the CB component.
When you create a new field, for example, a radio, drop-down select or multi-select, name your values with names starting with "_" (underscore, without quotes) .
Ex.: Values:
_UE_FIRST_OPTION
_UE_SEC_OPTION
Define these names in your language file.
Ex.:
Code: Select all
DEFINE('_UE_FIRST_OPTION','First Option');
DEFINE('_UE_SEC_OPTION','Second Option');
In file administrator/com_comprofiler/comprofiler.class.php:
Before the line
Code: Select all
$results .= "\n\t\t\t\t\t<td>".$oValue."</td>";
Code: Select all
if ($oValue[0] == "_")
$oValue = constant($oValue);
If you have any doubts, ask me here.
Alan Tygel