0

In my customer/login.php 's template I've this:

<?php echo $this->__("If you are an " .$name . "'s dealer and still do not have a password to access the reserved area, request in"); ?> 

Then in app/design/frontend/package/theme/locale/it_IT i've

If you are an %s's dealer and still do not have a password to access the reserved area, request in %s,Se sei un concessionario %s e ancora non hai la password di accesso all'Area Riservata, richiedila a %s

But this translation doesn't work. Why? Could you help me?

2 Answers 2

2

you need to add this to your template:

<?php echo $this->__("If you are an %s's dealer and still do not have a password to access the reserved area, request in", $name); ?> 
-1

try with quotes:

"If you are an %s's dealer and still do not have a password to access the reserved area, request in %s","Se sei un concessionario %s e ancora non hai la password di accesso all'Area Riservata, richiedila a %s"

also this line needs variable I think

<?php echo $this->__("If you are an " .$name . "'s dealer and still do not have a password to access the reserved area, request in ".$name); ?> 
2
  • why downvote???
    – Robin
    Commented Dec 2, 2015 at 15:52
  • What's the point of using %s if you're not using sprintf, or the optional arguments of __()? Commented Jan 27, 2016 at 8:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.