0

I want to translate the success message for my newsletter signup. So in the Mage_Newsletter.csv I have added

"Thank you for your subscription.","Tak for din tilmelding"

But it's not getting translated, what am I missing?

6
  • try with exact word including space as well and don't forget to clear the cache Commented Mar 18, 2016 at 11:03
  • just tried again nothing new. Ive done this meny times, but now its not working. Commented Mar 18, 2016 at 11:07
  • try this "Thank you for your subscription.","Tak for din tilmelding" and also clear cache in admin side.
    – Abdul
    Commented Mar 18, 2016 at 11:16
  • good idea, but no :( Commented Mar 18, 2016 at 11:18
  • try to add it in your theme local folder for ex. app/design/frontend/your_package/your_theme/locale/your_Locale/translate.csv Commented Mar 18, 2016 at 11:29

1 Answer 1

0

Try this in the file where you are displaying the message -

echo $this->__('Thank you for your subscription.');

I hope you have not missed this.

1
  • I have tried, but no luck :( I ended up inline translate it all. Not optimal. Commented Mar 18, 2016 at 13:22

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.