For my configurable products I'm trying to translate the sentence "This is a required field.". But I cant seem to translate it for some reason.
I've tried editting the following files:
prototype/validation.js,
local/language files,
\app\code\core\Mage\Core\Helper\Js.php
I've also tried adding translations with jQuery with the following code:
selector.attr('This is a required field.', Translator.translate('Dit veld is verplicht.'))
Code for calling the product options
<div class="custom-options">
<?php if (!$sname) :?>
<?php if ($_item->isSuper() || $_item->getHasOptions()) : ?>
<?php echo $this->getChild('groupedoptions')->setProduct($_item)->toHtml(); ?>
<?php endif; ?>
<?php else: ?>
<?php if ($_item->isSuper() || $_item->getHasOptions()) : ?>
<?php echo $this->getChild('groupedoptions')->setProduct($_item)->toHtml(); ?>
<?php endif; ?>
<?php endif;//micosolutions ?>
</div>
I've tried replacing
echo $this->getChild('groupedoptions')
with
echo $this->getChild__('groupedoptions')